Randy Kobes wrote:

Thanks, Stas - that does work in excluding the CVS/ entries
from getting into blib:

+1, please commit


============================================================
Index: lib/ModPerl/BuildMM.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/lib/ModPerl/BuildMM.pm,v
retrieving revision 1.11
diff -u -r1.11 BuildMM.pm
--- lib/ModPerl/BuildMM.pm      21 May 2003 06:47:45 -0000      1.11
+++ lib/ModPerl/BuildMM.pm      11 Sep 2003 00:38:41 -0000
@@ -6,6 +6,7 @@
 use ExtUtils::MakeMaker ();
 use Cwd ();
 use File::Spec;
+use File::Basename;

 use Apache::Build ();
 use ModPerl::MM;
@@ -254,7 +255,7 @@
     }

     return '' if $path =~ m/\.(pl|cvsignore)$/;
-    return '' if $path =~ m:\bCVS/:;
+    return '' if (basename dirname $path) eq 'CVS';
     return '' if $path =~ m/~$/;

$path;

=============================================================


--


__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to