diff --git a/tests/run_make_tests.pl b/tests/run_make_tests.pl index 4a1a8c10..1c2cb069 100644 --- a/tests/run_make_tests.pl +++ b/tests/run_make_tests.pl @@ -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; }