Ignore .git files
authorLeon Brocard <acme@astray.com>
Mon, 16 Feb 2009 16:04:22 +0000 (00:04 +0800)
committerLeon Brocard <acme@astray.com>
Mon, 16 Feb 2009 16:04:22 +0000 (00:04 +0800)
Porting/makerel

index f2e1f97..c969346 100755 (executable)
@@ -49,6 +49,7 @@ print "\nMaking a release for $perl in $relroot/$reldir\n\n";
 
 print "Cross-checking the MANIFEST...\n";
 ($missfile, $missentry) = fullcheck();
+$missentry = [grep { $_ !~ /^.git/ } @$missentry];
 warn "Can't make a release with MANIFEST files missing.\n" if @$missfile;
 warn "Can't make a release with files not listed in MANIFEST.\n" if @$missentry;
 if ("@$missentry" =~ m/\.orig\b/) {