]> git.ipfire.org Git - thirdparty/make.git/commitdiff
* tests/run_make_tests.pl (valid_option): Add missing File::Spec
authorPaul Smith <psmith@gnu.org>
Sat, 5 Oct 2019 11:43:52 +0000 (07:43 -0400)
committerPaul Smith <psmith@gnu.org>
Sat, 5 Oct 2019 11:43:52 +0000 (07:43 -0400)
tests/run_make_tests.pl

index e2fddac36690c078e4b95e3a04dfb0d46b9e4298..a7a555586d093c9e05e94e3e0803a6a8411bd6fb 100644 (file)
@@ -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;
        }