From a4a173928ff07f87e3ed6cc164d0b5d684f86c64 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sat, 5 Oct 2019 07:43:52 -0400 Subject: [PATCH] * tests/run_make_tests.pl (valid_option): Add missing File::Spec --- tests/run_make_tests.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }