From 0e9e77664ada387cc0a37ef0e88dc8efd84ef143 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 17 Nov 2003 08:52:30 +0000 Subject: [PATCH] Require not only that `perl' have the executable bit set, but also that it is not a directory. --- bootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap b/bootstrap index 132cbc13f..130fa8a34 100755 --- a/bootstrap +++ b/bootstrap @@ -40,7 +40,7 @@ if test -z "$PERL"; then for dir in $PATH; do IFS=$save_IFS test -z "$dir" && dir=. - if test -x "$dir/perl"; then + if test -x "$dir/perl" && test ! -d "$dir/perl"; then PERL="$dir/perl" break fi -- 2.47.2