From: Vincent Pit Date: Mon, 7 Sep 2009 21:54:35 +0000 (+0200) Subject: Don't install .gitignore files X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c8c3ad2244ff40bcb3f49031fff4209e786ce20c;p=p5sagit%2Fp5-mst-13.2.git Don't install .gitignore files --- diff --git a/installperl b/installperl index 6f4a369..1705d34 100755 --- a/installperl +++ b/installperl @@ -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,