diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-03-06 21:19:15 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-03-06 21:19:15 +0000 |
commit | 535fa49136b86664369039d6825845b3e3700438 (patch) | |
tree | 23f719d2195756688f7c5c2743b2cbde831900f6 /installperl | |
parent | 0b33d4cc18d43aea58c27300073486be16a99b67 (diff) | |
parent | 66cf6f75cf9a8f272bce078f8777c482376d4e3b (diff) | |
download | perl-535fa49136b86664369039d6825845b3e3700438.tar.gz |
Undo drift from the mainline.
p4raw-id: //depot/cfgperl@5586
Diffstat (limited to 'installperl')
-rwxr-xr-x | installperl | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/installperl b/installperl index f56af9e1dc..f6e45f59dc 100755 --- a/installperl +++ b/installperl @@ -25,6 +25,7 @@ use File::Compare; use File::Copy (); use File::Path (); use ExtUtils::Packlist; +use Config; use subs qw(unlink link chmod); use vars qw($packlist); @@ -74,7 +75,7 @@ my %archpms = ( Config => 1, ); -if ($osname eq 'dos') { +if ($^O eq 'dos') { push(@scripts,'djgpp/fixpmain'); $archpms{config} = $archpms{filehand} = 1; } @@ -199,7 +200,7 @@ if ($Is_VMS) { copy("perlshr$exe_ext", "$installbin/${perl}shr$exe_ext"); chmod(0755, "$installbin/${perl}shr$exe_ext"); } -elsif ($osname eq 'mpeix') { +elsif ($^O eq 'mpeix') { # MPE lacks hard links and requires that executables with special # capabilities reside in the MPE namespace. safe_unlink("$installbin/perl$ver$exe_ext", $Config{perlpath}); @@ -262,8 +263,8 @@ else { @corefiles = <*.h libperl*.*>; # AIX needs perl.exp installed as well. - push(@corefiles,'perl.exp') if $osname eq 'aix'; - if ($osname eq 'mpeix') { + push(@corefiles,'perl.exp') if $^O eq 'aix'; + if ($^O eq 'mpeix') { # MPE needs mpeixish.h installed as well. mkpath("$installarchlib/CORE/mpeix", 1, 0777); push(@corefiles,'mpeix/mpeixish.h'); |