From 00fa3ca3a51169584fed5160907c7aef1aa6ca07 Mon Sep 17 00:00:00 2001 From: Paul Smith <psmith@gnu.org> Date: Sat, 21 Sep 2019 12:39:07 -0400 Subject: [PATCH] * tests/run_make_tests.pl (find_prog): Fix syntax error. --- 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 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; }