summaryrefslogtreecommitdiff
path: root/Porting/add-package.pl
diff options
context:
space:
mode:
authorDavid Golden <dagolden@cpan.org>2009-06-28 21:51:39 -0400
committerH.Merijn Brand <h.m.brand@xs4all.nl>2009-06-29 08:32:26 +0200
commit74182dbd4562aa2e1f203924b0b5e6676faec47c (patch)
tree517e4af4edc0f1f851abdcdc4d70298fad9f9f9b /Porting/add-package.pl
parent9b657a623c3928518095c706c37ba6315469a48e (diff)
downloadperl-74182dbd4562aa2e1f203924b0b5e6676faec47c.tar.gz
fix MANIFEST perms & add case-insensitive exclude
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
Diffstat (limited to 'Porting/add-package.pl')
-rw-r--r--Porting/add-package.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/Porting/add-package.pl b/Porting/add-package.pl
index 20947c0b53..6a07d7ef38 100644
--- a/Porting/add-package.pl
+++ b/Porting/add-package.pl
@@ -12,7 +12,7 @@ getopts( 'r:p:e:vudn', $Opts );
my $Cwd = cwd();
my $Verbose = 1;
-my $ExcludeRe = $Opts->{e} ? qr/$Opts->{e}/ : undef;
+my $ExcludeRe = $Opts->{e} ? qr/$Opts->{e}/i : undef;
my $Debug = $Opts->{v} || 0;
my $RunDiff = $Opts->{d} || 0;
my $PkgDir = $Opts->{p} || cwd();
@@ -439,7 +439,7 @@ my @ChangedFiles;
push @manifest, values %pkg_files;
- { chmod 0755, $file;
+ { chmod 0644, $file;
open my $fh, ">$file" or die "Could not open $file for writing: $!";
#print $fh sort { lc $a cmp lc $b } @manifest;
### XXX stolen from pod/buildtoc:sub do_manifest