diff options
author | Tim Bunce <Tim.Bunce@ig.co.uk> | 1997-09-05 00:00:00 +0000 |
---|---|---|
committer | Tim Bunce <Tim.Bunce@ig.co.uk> | 1997-09-05 00:00:00 +0000 |
commit | efc5ad56f94fefba21b27fe9986ccf6a3501f360 (patch) | |
tree | b9c729570fd6e397f58e2fb08dd50120a3b7ec53 /installperl | |
parent | cfb55b37fb4b34b9bef44809cb383c4450d1d628 (diff) | |
download | perl-efc5ad56f94fefba21b27fe9986ccf6a3501f360.tar.gz |
update to installperl for perl5.004_02 to skip CVS dir
(this is the same change as commit 4b66953f587b2138e003f8c94d1fd938314f4325, but as applied)
Diffstat (limited to 'installperl')
-rwxr-xr-x | installperl | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/installperl b/installperl index 9686bfbdc6..e999d3bdbf 100755 --- a/installperl +++ b/installperl @@ -128,9 +128,9 @@ push(@corefiles,'perl.exp') if $^O eq 'aix'; push(@corefiles,'sperl.o') if -f 'sperl.o'; foreach $file (@corefiles) { # HP-UX (at least) needs to maintain execute permissions - # on dynamically-loaded libraries. + # on dynamically-loadable libraries. So we do it for all. copy_if_diff($file,"$installarchlib/CORE/$file") - and chmod($file =~ /^\.(so|$dlext)$/ ? 0555 : 0444, + and chmod($file =~ /\.(so|\Q$dlext\E)$/ ? 0555 : 0444, "$installarchlib/CORE/$file"); } @@ -401,6 +401,11 @@ sub installlib { local($depth) = $dir ? "lib/$dir" : "lib"; my $name = $_; + + if ($name eq 'CVS' && -d $name) { + $File::Find::prune = 1; + return; + } # ignore patch backups and the .exists files. return if $name =~ m{\.orig$|~$|^\.exists}; |