summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/automake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/automake.in b/bin/automake.in
index 67f6f3a67..c12078711 100644
--- a/bin/automake.in
+++ b/bin/automake.in
@@ -4954,7 +4954,7 @@ sub handle_tests ()
if ($handle_exeext)
{
unshift (@test_suffixes, $at_exeext)
- unless $test_suffixes[0] eq $at_exeext;
+ unless @test_suffixes && $test_suffixes[0] eq $at_exeext;
}
unshift (@test_suffixes, '');