From a367e4be95a98e04a689f715150020b484792656 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Wed, 13 Jul 2011 10:38:13 -0500 Subject: [PATCH] tools: use AbsPath() instead of abs_path() in checkRelease abs_path() dies for dirs that don't exist. --- src/tools/convertRelease.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/convertRelease.pl b/src/tools/convertRelease.pl index fbdcf0606..f6eb50e73 100644 --- a/src/tools/convertRelease.pl +++ b/src/tools/convertRelease.pl @@ -19,7 +19,7 @@ use strict; use FindBin qw($Bin); use lib ("$Bin/../../lib/perl", $Bin); -use Cwd qw(cwd abs_path); +use Cwd qw(cwd); use Getopt::Std; use EPICS::Path; use EPICS::Release; @@ -215,7 +215,7 @@ sub checkRelease { while (my ($parent, $ppath) = each %check) { if (exists $macros{$parent} && - abs_path($macros{$parent}) ne abs_path($ppath)) { + AbsPath($macros{$parent}) ne AbsPath($ppath)) { print "\n" unless ($status); print "Definition of $parent conflicts with $app support.\n"; print "In this application a RELEASE file defines\n";