From: Jim Meyering Date: Mon, 17 Nov 2003 08:52:30 +0000 (+0000) Subject: Require not only that `perl' have the executable X-Git-Tag: Release-1-7d~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e9e77664ada387cc0a37ef0e88dc8efd84ef143;p=thirdparty%2Fautomake.git Require not only that `perl' have the executable bit set, but also that it is not a directory. --- 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