summaryrefslogtreecommitdiff
path: root/installperl
diff options
context:
space:
mode:
authorAaron B. Dossett <aaron@iglou.com>2000-10-03 07:03:04 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2000-10-03 15:15:42 +0000
commit18689f1df2fb576c03af71556727eae71184be94 (patch)
treead3980b3b250284e8aece44dbb65800bb06a6796 /installperl
parent7ebf56aef9a0edd5d4f5f68bdd8d96e5e1d42b5f (diff)
downloadperl-18689f1df2fb576c03af71556727eae71184be94.tar.gz
Re: PATCH for 20001003.004
Message-Id: <E13gTay-0006od-00@iglou.com> p4raw-id: //depot/perl@7135
Diffstat (limited to 'installperl')
-rwxr-xr-xinstallperl10
1 files changed, 5 insertions, 5 deletions
diff --git a/installperl b/installperl
index c65af5afa9..07c9bba250 100755
--- a/installperl
+++ b/installperl
@@ -511,7 +511,7 @@ sub safe_unlink {
sub safe_rename {
my($from,$to) = @_;
- if (-f $to and not unlink($to)) {
+ if (-f $to and not &unlink($to)) {
my($i);
for ($i = 1; $i < 50; $i++) {
last if rename($to, "$to.$i");
@@ -520,7 +520,7 @@ sub safe_rename {
if $i >= 50; # Give up!
}
link($from,$to) || return 0;
- unlink($from);
+ &unlink($from);
}
sub link {
@@ -625,16 +625,16 @@ sub installlib {
#but we have to delete old *.al and *.ix files from the 5.000
#distribution:
#This might not work because $archname might have changed.
- unlink("$installarchlib/$name");
+ &unlink("$installarchlib/$name");
}
$packlist->{"$installlib/$name"} = { type => 'file' };
if (compare($_, "$installlib/$name") || $nonono) {
- unlink("$installlib/$name");
+ &unlink("$installlib/$name");
mkpath("$installlib/$dir", $verbose, 0777);
# HP-UX (at least) needs to maintain execute permissions
# on dynamically-loaded libraries.
copy_if_diff($_, "$installlib/$name")
- and chmod($name =~ /\.(so|$dlext)$/o ? 0555 : 0444,
+ and &chmod($name =~ /\.(so|$dlext)$/o ? 0555 : 0444,
"$installlib/$name");
}
}