summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-11-17 08:52:30 +0000
committerJim Meyering <jim@meyering.net>2003-11-17 08:52:30 +0000
commit0e9e77664ada387cc0a37ef0e88dc8efd84ef143 (patch)
treee88f2c8cd3e01d7d0074548f165bdddb964b28a4 /bootstrap
parent720cf06a033f8980f9eca4572aa33cfad73c5413 (diff)
downloadautomake-0e9e77664ada387cc0a37ef0e88dc8efd84ef143.tar.gz
Require not only that `perl' have the executable
bit set, but also that it is not a directory.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap2
1 files changed, 1 insertions, 1 deletions
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