This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Don't install .gitignore files
authorVincent Pit <perl@profvince.com>
Mon, 7 Sep 2009 21:54:35 +0000 (23:54 +0200)
committerVincent Pit <perl@profvince.com>
Mon, 7 Sep 2009 21:54:35 +0000 (23:54 +0200)
installperl

index 6f4a369..1705d34 100755 (executable)
@@ -713,7 +713,7 @@ sub installlib {
 
     # ignore patch backups, RCS files, emacs backup & temp files and the
     # .exists files, .PL files, and test files.
-    return if $name =~ m{\.orig$|\.rej$|~$|^#.+#$|,v$|^\.exists|\.PL$|\.plc$|\.t$|^test\.pl$|^dbm_filter_util.pl$} ||
+    return if $name =~ m{\.orig$|\.rej$|~$|^#.+#$|,v$|^\.exists|\.PL$|\.plc$|\.t$|^test\.pl$|^dbm_filter_util.pl$|^\.gitignore$} ||
              $dir  =~ m{/t(?:/|$)};
     # ignore the cpan script in lib/CPAN/bin, the instmodsh and xsubpp
     # scripts in lib/ExtUtils, the prove script in lib/Test/Harness,