summaryrefslogtreecommitdiff
path: root/installperl
diff options
context:
space:
mode:
authorChip Salzenberg <chip@perl.com>1997-03-30 11:46:57 +1200
committerChip Salzenberg <chip@atlantic.net>1997-04-01 12:01:35 +1200
commita3b6010a2721475ff9a5f9ca58e8e45fad2e99f1 (patch)
treefc3fbf6f59b83c96f7e6550720419d25b746d2dd /installperl
parent324b198ceb3fe2713a0a599aef69b5248b9d5516 (diff)
downloadperl-a3b6010a2721475ff9a5f9ca58e8e45fad2e99f1.tar.gz
Remove target before link() of perldiag.pod
Diffstat (limited to 'installperl')
-rwxr-xr-xinstallperl1
1 files changed, 1 insertions, 0 deletions
diff --git a/installperl b/installperl
index 53468a9139..a654b268fe 100755
--- a/installperl
+++ b/installperl
@@ -243,6 +243,7 @@ if (! $versiononly || !($installprivlib =~ m/\Q$]/)) {
"${installarchlib}/pod/perldiag.pod");
if (compare($from, $to) || $nonono) {
mkpath("${installarchlib}/pod", 1, 0777);
+ unlink($to);
link($from, $to);
}
}