summaryrefslogtreecommitdiff
path: root/installperl
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-07-13 13:29:07 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-07-13 13:29:07 +0000
commitf7229ad31aaa72300ebf8a4e38564ad772e64958 (patch)
tree8d95601829c1585f380d7e50e5aa373f32b79827 /installperl
parentc990a0aa946ece05f609eb30b27514cac41fbbe3 (diff)
downloadperl-f7229ad31aaa72300ebf8a4e38564ad772e64958.tar.gz
The installation of the 5.005threads {Queue,Semaphore}.pm
didn't quite work. p4raw-id: //depot/perl@17518
Diffstat (limited to 'installperl')
-rwxr-xr-xinstallperl5
1 files changed, 4 insertions, 1 deletions
diff --git a/installperl b/installperl
index ab59652599..9e06145df7 100755
--- a/installperl
+++ b/installperl
@@ -390,7 +390,10 @@ foreach my $file (@corefiles) {
# modules if so needed.
if ($Config{use5005threads}) {
for my $m (qw(Queue Semaphore)) {
- copy("ext/Thread/$m.pmx", "$installprivlib/Thread/$m.pm")
+ my $t = "$installprivlib/Thread/$m.pm";
+ unlink $t;
+ copy("ext/Thread/$m.pmx", $t);
+ chmod(0444, $t);
}
}