From: Rafael Garcia-Suarez <rgarciasuarez@gmail.com>
Date: Thu, 6 Oct 2005 13:42:00 +0000 (+0000)
Subject: Be nice with subversion hidden directories
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9237a471130e1e59caf11c4141aedcf1ed2ffdce;p=p5sagit%2Fp5-mst-13.2.git

Be nice with subversion hidden directories

p4raw-id: //depot/perl@25707
---

diff --git a/ext/Compress/Zlib/Makefile.PL b/ext/Compress/Zlib/Makefile.PL
index d377f17..aeb58e8 100755
--- a/ext/Compress/Zlib/Makefile.PL
+++ b/ext/Compress/Zlib/Makefile.PL
@@ -175,7 +175,6 @@ if (eval {require ExtUtils::Constant; 1}) {
                                      NAMES => \@names,
                                      C_FILE  => 'constants.h',
                                      XS_FILE  => 'constants.xs',
-                                                                       
                                     );
 } 
 else {
@@ -194,7 +193,8 @@ sub MY::libscan
 
     return undef
         if $path =~ /(~|\.bak|_bak)$/ ||
-           $path =~ /\..*\.swp$/ ;
+           $path =~ /\..*\.swp$/ ||
+           $path =~ /\B\.svn\b/;
 
     return $path;
 }