From a4d0e89fadfa1c92279c08ad1a7543c50c1e43b0 Mon Sep 17 00:00:00 2001 From: freesource Date: Wed, 1 Aug 2001 07:31:44 +0000 Subject: [PATCH] Removing a checker left around. --- BootRoot/Yard.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BootRoot/Yard.pm b/BootRoot/Yard.pm index dc76d6c..9906f70 100644 --- a/BootRoot/Yard.pm +++ b/BootRoot/Yard.pm @@ -187,6 +187,7 @@ sub read_contents_file { return "ERROR" if $error && $error eq "ERROR"; my($file, $replacement) = $line =~ /^(\S+)\s*<=\s*(\S+)\s*$/; + #$replacement = "$main::global_yard/$replacement"; if (!defined($replacement)) { cf_warn($contents_file, $line, @@ -197,7 +198,7 @@ sub read_contents_file { must_be_abs($file); (-d $file) and cf_warn($contents_file, $line, "left-hand side can't be directory"); - my($abs_replacement) = find_file_in_path($replacement); + my($abs_replacement) = find_file_in_path($replacement,$main::global_yard); if (!(defined($abs_replacement) and -e $abs_replacement)) { cf_warn($contents_file, $line, "Can't find $replacement");