mirror of
https://git.savannah.gnu.org/git/make.git
synced 2025-01-27 01:27:58 +00:00
* tests/run_make_tests.pl (valid_option): Add missing File::Spec
This commit is contained in:
parent
0e113897f7
commit
a4a173928f
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue