summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
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