summaryrefslogtreecommitdiff
path: root/Porting/core-cpan-diff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-09-24 10:15:26 +0100
committerNicholas Clark <nick@ccl4.org>2009-09-24 10:15:26 +0100
commit9271a704fa108e9f1352cdcdd0dd7ed1a71d1db9 (patch)
tree9e59ed2702c55e0d9365db50868026109de474c3 /Porting/core-cpan-diff
parentdd6c21bebf897e04754ff0d50210c6e54cc753c7 (diff)
downloadperl-9271a704fa108e9f1352cdcdd0dd7ed1a71d1db9.tar.gz
Support comparing extensions in cpan/ as well as ext/
Diffstat (limited to 'Porting/core-cpan-diff')
-rwxr-xr-xPorting/core-cpan-diff2
1 files changed, 1 insertions, 1 deletions
diff --git a/Porting/core-cpan-diff b/Porting/core-cpan-diff
index 1b38a94420..8e3feeb09f 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;