Browse Source

Removed unecessary warning which warned that left-hand side replacements

couldn't be a directory if it happened to find that directory on the hostfs.
Directories can be replacements.
master
freesource 23 years ago
parent
commit
033c61d043
  1. 7
      BootRoot/Yard.pm

7
BootRoot/Yard.pm

@ -408,8 +408,11 @@ sub read_contents_file {
} else {
must_be_abs($file);
(-d $file) and cf_warn($contents_file, $line,
"left-hand side can't be directory");
# This doesn't make too much sense, since directories can
# be replacements, and this is just checking the hostfs
# --freesource
## (-d $file) and cf_warn($contents_file, $line,
## "left-hand side can't be directory");
# my($abs_replacement) = find_file_in_path($replacement,$main::global_yard);
my($abs_replacement) = find_file_in_path($replacement);

Loading…
Cancel
Save