summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstallperl1
1 files changed, 1 insertions, 0 deletions
diff --git a/installperl b/installperl
index aede39a723..da8f45ee4a 100755
--- a/installperl
+++ b/installperl
@@ -617,6 +617,7 @@ if (!$versiononly && $otherperls) {
next unless m,^/,;
# Use &samepath here because some systems have other dirs linked
# to $mainperldir (like SunOS)
+ next unless -d;
next if samepath($_, $binexp);
next if samepath($_, cwd());
next if ($mainperl_is_instperl && samepath($_, $mainperldir));