summaryrefslogtreecommitdiff
path: root/installperl
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-02-02 11:44:07 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-02-02 11:44:07 +0000
commit472a4973258a334c0ca9dab6c0aa2926a6dc3433 (patch)
tree65fe66389e838390210be5768c2b83d55f7d2f19 /installperl
parentdef887e857f95c8bcce66cee167ba8fbaea9a17a (diff)
downloadperl-472a4973258a334c0ca9dab6c0aa2926a6dc3433.tar.gz
$Config{installusrbinperl}
(maint-5.005 changes #2614 and #2709) p4raw-link: @2614 on //depot/maint-5.005/perl: 1a7ea3dc058ec00eaafdca08bb949aeed8bce2aa p4raw-id: //depot/cfgperl@2763
Diffstat (limited to 'installperl')
-rwxr-xr-xinstallperl3
1 files changed, 2 insertions, 1 deletions
diff --git a/installperl b/installperl
index 7a555fbe27..979000c633 100755
--- a/installperl
+++ b/installperl
@@ -256,7 +256,8 @@ if (! $versiononly && ! samepath($installbin, '.') && ($^O ne 'dos') && ! $Is_VM
my $mainperl_is_instperl = 0;
-if (!$versiononly && !$nonono && !$Is_W32 && !$Is_VMS && -t STDIN && -t STDERR
+if ($Config{installusrbinperl} eq 'define' &&
+ !$versiononly && !$nonono && !$Is_W32 && !$Is_VMS && -t STDIN && -t STDERR
&& -w $mainperldir && ! samepath($mainperldir, $installbin)) {
my($usrbinperl) = "$mainperldir/$perl$exe_ext";
my($instperl) = "$installbin/$perl$exe_ext";