summaryrefslogtreecommitdiff
path: root/installperl
diff options
context:
space:
mode:
Diffstat (limited to 'installperl')
-rwxr-xr-xinstallperl1
1 files changed, 1 insertions, 0 deletions
diff --git a/installperl b/installperl
index 05f77f6a42..e6e2bbeb6f 100755
--- a/installperl
+++ b/installperl
@@ -183,6 +183,7 @@ if (-w $mainperldir && ! &samepath($mainperldir, $installbin) && !$nonono) {
# to binexp/perl if binexp and installbin are different.
$mainperl_is_instperl =
&samepath($usrbinperl, $instperl) ||
+ &samepath($usrbinperl, $expinstperl) ||
(($binexp ne $installbin) &&
(-l $usrbinperl) &&
((readlink $usrbinperl) eq $expinstperl));