]> git.ipfire.org Git - thirdparty/make.git/commitdiff
* tests/run_make_tests.pl (find_prog): Fix syntax error.
authorPaul Smith <psmith@gnu.org>
Sat, 21 Sep 2019 16:39:07 +0000 (12:39 -0400)
committerPaul Smith <psmith@gnu.org>
Sat, 21 Sep 2019 16:39:07 +0000 (12:39 -0400)
tests/run_make_tests.pl

index 4a1a8c10e0e2cbb92df64b3c6bf0bb563b347742..1c2cb069ad09daee5ef2fbc42c5059680532b0be 100644 (file)
@@ -470,7 +470,7 @@ sub find_prog
   if (! $d) {
     foreach my $e (path()) {
       $prog = catfile($e, $f);
-      -x $prog or continue;
+      -x $prog or next;
       ($v, $d, $f) = splitpath($prog);
       last;
     }