diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-09-24 10:15:26 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-09-24 10:15:26 +0100 |
commit | 9271a704fa108e9f1352cdcdd0dd7ed1a71d1db9 (patch) | |
tree | 9e59ed2702c55e0d9365db50868026109de474c3 /Porting/core-cpan-diff | |
parent | dd6c21bebf897e04754ff0d50210c6e54cc753c7 (diff) | |
download | perl-9271a704fa108e9f1352cdcdd0dd7ed1a71d1db9.tar.gz |
Support comparing extensions in cpan/ as well as ext/
Diffstat (limited to 'Porting/core-cpan-diff')
-rwxr-xr-x | Porting/core-cpan-diff | 2 |
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; |