CC: | Sam Vilain <sam.vilain [...] catalyst.net.nz> |
Subject: | [PATCH] Don't rcopy control files for some popular SCMs |
Date: | Mon, 12 Nov 2007 18:06:12 +1300 |
To: | bug-Catalyst-Devel [...] rt.cpan.org |
From: | Sam Vilain <sam.vilain [...] catalyst.net.nz> |
It never makes sense to copy these files into the blib directory,
so skip them.
---
Module::Install probably provides some kind of API for using the
list that it generates based on 'no_index', etc. Those should also
be skipped.
lib/Module/Install/Catalyst.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/Module/Install/Catalyst.pm b/lib/Module/Install/Catalyst.pm
index 95d97b8..0204882 100644
--- a/lib/Module/Install/Catalyst.pm
+++ b/lib/Module/Install/Catalyst.pm
@@ -15,7 +15,7 @@ my $SAFETY = 0;
our @IGNORE =
qw/Build Build.PL Changes MANIFEST META.yml Makefile.PL Makefile README
- _build blib lib script t inc/;
+ _build blib lib script t inc \.svn \.git _darcs \.bzr \.hg/;
our @CLASSES = ();
our $ENGINE = 'CGI';
our $CORE = 0;
--
1.5.3.2.3.g2f2dcc-dirty