mirror of
https://github.com/fspc/gbootroot.git
synced 2025-02-23 09:03:23 -05:00
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.
This commit is contained in:
parent
40813ffde7
commit
033c61d043
@ -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…
x
Reference in New Issue
Block a user