mirror of
https://github.com/mirror/make.git
synced 2025-01-28 05:10:24 +08:00
* tests/run_make_tests.pl (valid_option): Add missing File::Spec
This commit is contained in:
parent
0e113897f7
commit
a4a173928f
@ -173,7 +173,7 @@ sub valid_option
|
||||
|
||||
if ($option =~ /^-srcdir$/i) {
|
||||
$srcdir = shift @argv;
|
||||
if (! -f catfile($srcdir, 'src', 'gnumake.h')) {
|
||||
if (! -f File::Spec->catfile($srcdir, 'src', 'gnumake.h')) {
|
||||
print "$option $srcdir: Not a valid GNU make source directory.\n";
|
||||
exit 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user