From: Paul Smith Date: Sat, 5 Oct 2019 11:43:52 +0000 (-0400) Subject: * tests/run_make_tests.pl (valid_option): Add missing File::Spec X-Git-Tag: 4.2.92~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a4a173928ff07f87e3ed6cc164d0b5d684f86c64;p=thirdparty%2Fmake.git * tests/run_make_tests.pl (valid_option): Add missing File::Spec --- diff --git a/tests/run_make_tests.pl b/tests/run_make_tests.pl index e2fddac3..a7a55558 100644 --- a/tests/run_make_tests.pl +++ b/tests/run_make_tests.pl @@ -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; }