summaryrefslogtreecommitdiff
path: root/installperl
diff options
context:
space:
mode:
authorJerry D. Hedden <jdhedden@cpan.org>2007-08-01 08:28:49 -0400
committerAbhijit Menon-Sen <ams@wiw.org>2007-08-01 17:01:29 +0000
commitae5e75fdf25a22fae617e01afaae6c0da8a1b964 (patch)
treea458450ec89ec74402c81f6bafc7f08d6ef4192f /installperl
parentdffb32cfd5805d7e577558679d1ec1691e82e697 (diff)
downloadperl-ae5e75fdf25a22fae617e01afaae6c0da8a1b964.tar.gz
For files ignored by installperl:
- Split README handling into a separate case. - Extend the MANIFEST pattern to include .SKIP. Based on the following: Subject: [PATCH] Don't install MANIFEST.SKIP files From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-Id: <1ff86f510708010928o48ea74d6je46148b0a409bffa@mail.gmail.com> p4raw-id: //depot/perl@31672
Diffstat (limited to 'installperl')
-rwxr-xr-xinstallperl3
1 files changed, 2 insertions, 1 deletions
diff --git a/installperl b/installperl
index a49e9babf3..1bb484521f 100755
--- a/installperl
+++ b/installperl
@@ -841,7 +841,8 @@ sub installlib {
# ignore READMEs, MANIFESTs, INSTALL docs, META.ymls and change logs.
# Changes.e2x and README.e2x are needed by enc2xs.
- return if $name =~ m{^(?:README(?:\.\w+)?|MANIFEST|META\.yml|INSTALL)$} && $name ne 'README.e2x';
+ return if $name =~ m{^(?:README(?:\.\w+)?)$} && $name ne 'README.e2x';
+ return if $name =~ m{^(?:MANIFEST(?:\.SKIP)?|META\.yml|INSTALL)$};
return if $name =~ m{^(?:TODO|BUGS|CREDITS)$}i;
return if $name =~ m{^change(?:s|log)(?:\.libnet)?$}i;