summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-12-03 07:42:23 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-12-03 07:42:23 +0000
commit4e0bac30cf8781c4385a7617e92d21af5cfddbff (patch)
treed1c398fb79e7b5c097047be11cc84924c992b7d5
parenta07043ec8c6b8db003369856eadf14ccd8d179cc (diff)
downloadperl-4e0bac30cf8781c4385a7617e92d21af5cfddbff.tar.gz
don't mess with the umask()
p4raw-id: //depot/perl@4632
-rwxr-xr-xinstallhtml2
-rwxr-xr-xinstallman1
-rwxr-xr-xinstallperl2
-rw-r--r--lib/ExtUtils/Install.pm4
-rw-r--r--lib/ExtUtils/Manifest.pm1
5 files changed, 0 insertions, 10 deletions
diff --git a/installhtml b/installhtml
index d73124ce13..c268f54b36 100755
--- a/installhtml
+++ b/installhtml
@@ -9,8 +9,6 @@ use Getopt::Long; # for command-line parsing
use Cwd;
use Pod::Html;
-umask 022;
-
=head1 NAME
installhtml - converts a collection of POD pages to HTML format.
diff --git a/installman b/installman
index a70fdd3ba9..9e27f762b0 100755
--- a/installman
+++ b/installman
@@ -10,7 +10,6 @@ use subs qw(unlink chmod rename link);
use vars qw($packlist);
require Cwd;
-umask 022;
$ENV{SHELL} = 'sh' if $^O eq 'os2';
$ver = $];
diff --git a/installperl b/installperl
index ddd06fa6d7..fd1314fe2c 100755
--- a/installperl
+++ b/installperl
@@ -54,8 +54,6 @@ while (@ARGV) {
shift;
}
-umask 022 unless $Is_VMS;
-
my @scripts = qw(utils/c2ph utils/h2ph utils/h2xs utils/perlbug utils/perldoc
utils/pl2pm utils/splain utils/perlcc utils/dprofpp
x2p/s2p x2p/find2perl
diff --git a/lib/ExtUtils/Install.pm b/lib/ExtUtils/Install.pm
index 47bde0deb0..a2d7d6bebd 100644
--- a/lib/ExtUtils/Install.pm
+++ b/lib/ExtUtils/Install.pm
@@ -67,7 +67,6 @@ sub install {
}
$packlist->read($pack{"read"}) if (-f $pack{"read"});
my $cwd = cwd();
- my $umask = umask 0 unless $Is_VMS;
my($source);
MOD_INSTALL: foreach $source (sort keys %hash) {
@@ -140,7 +139,6 @@ sub install {
print "Writing $pack{'write'}\n";
$packlist->write($pack{'write'});
}
- umask $umask unless $Is_VMS;
}
sub directory_not_empty ($) {
@@ -259,7 +257,6 @@ sub pm_to_blib {
close(FROMTO);
}
- my $umask = umask 0022 unless $Is_VMS;
mkpath($autodir,0,0755);
foreach (keys %$fromto) {
next if -f $fromto->{$_} && -M $fromto->{$_} < -M $_;
@@ -280,7 +277,6 @@ sub pm_to_blib {
next unless /\.pm$/;
autosplit($fromto->{$_},$autodir);
}
- umask $umask unless $Is_VMS;
}
package ExtUtils::Install::Warn;
diff --git a/lib/ExtUtils/Manifest.pm b/lib/ExtUtils/Manifest.pm
index 52cfc2a80a..58c91bc44b 100644
--- a/lib/ExtUtils/Manifest.pm
+++ b/lib/ExtUtils/Manifest.pm
@@ -187,7 +187,6 @@ sub manicopy {
require File::Basename;
my(%dirs,$file);
$target = VMS::Filespec::unixify($target) if $Is_VMS;
- umask 0 unless $Is_VMS;
File::Path::mkpath([ $target ],1,$Is_VMS ? undef : 0755);
foreach $file (keys %$read){
$file = VMS::Filespec::unixify($file) if $Is_VMS;