diff options
author | 0000-Admin <root@egg.karlov.mff.cuni.cz> | 2001-06-20 16:11:49 +0200 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-21 13:46:50 +0000 |
commit | 791b4ad3d4885818274b272624d60d233f36ad2d (patch) | |
tree | 0f3eb1e1423e3ee78f6918ecd085309e6f98b0db /installperl | |
parent | 669d0086c4868c605ac0871f6bb102e428db4873 (diff) | |
download | perl-791b4ad3d4885818274b272624d60d233f36ad2d.tar.gz |
[ID 20010621.002] UnixWare 7.1.1 and Perl-5.6.1 problems
Message-Id: <200106201211.f5KCBnm24320@egg.karlov.mff.cuni.cz>
Setting umask to something friendlier.
p4raw-id: //depot/perl@10783
Diffstat (limited to 'installperl')
-rwxr-xr-x | installperl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/installperl b/installperl index 2774553bb1..b7df66f5c9 100755 --- a/installperl +++ b/installperl @@ -30,6 +30,10 @@ use ExtUtils::Packlist; use Config; use subs qw(unlink link chmod); +if ($Config{d_umask}) { + umask(022); # umasks like 077 aren't that useful for installations +} + $Is_NetWare = $Config{osname} eq 'NetWare'; if ($Is_NetWare) { $Is_W32 = 0; |