From: Nicholas Clark Date: Thu, 24 Sep 2009 09:15:26 +0000 (+0100) Subject: Support comparing extensions in cpan/ as well as ext/ X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9271a704fa108e9f1352cdcdd0dd7ed1a71d1db9;p=p5sagit%2Fp5-mst-13.2.git Support comparing extensions in cpan/ as well as ext/ --- diff --git a/Porting/core-cpan-diff b/Porting/core-cpan-diff index 1b38a94..8e3feeb 100755 --- a/Porting/core-cpan-diff +++ b/Porting/core-cpan-diff @@ -432,7 +432,7 @@ sub get_map { my $ext; for (@$perl_files) { - if (m{^(ext/[^/]+/)}) { + if (m{^((?:ext|cpan)/[^/]+/)}) { if (defined $ext and $ext ne $1) { # more than one ext/$ext/ undef $ext;