summaryrefslogtreecommitdiff
path: root/Porting/cmpVERSION.pl
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-12-06 13:17:13 -0800
committerFather Chrysostomos <sprout@cpan.org>2011-12-06 13:18:21 -0800
commit1957508d32065fc860601adb5debf57966a5812a (patch)
tree4cdcdb75b874609eae6db54c45002dc839c665cd /Porting/cmpVERSION.pl
parentad084f51cd17539ef55b510228156cd4f83c9729 (diff)
downloadperl-1957508d32065fc860601adb5debf57966a5812a.tar.gz
cmpVERSION.pl: Check lib/*.pl, too
Diffstat (limited to 'Porting/cmpVERSION.pl')
-rwxr-xr-xPorting/cmpVERSION.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Porting/cmpVERSION.pl b/Porting/cmpVERSION.pl
index 14023a6f2b..e618533a0a 100755
--- a/Porting/cmpVERSION.pl
+++ b/Porting/cmpVERSION.pl
@@ -122,7 +122,7 @@ foreach (`git --no-pager diff --name-only $tag_to_compare --diff-filter=ACMRTUXB
my $this_dir = $1;
next if $this_dir =~ $skip_dirs || exists $skip{$_};
next if exists $upstream_files{$_};
- if (/\.pm\z/) {
+ if (/\.pm\z/ || m|^lib/.*\.pl\z|) {
push @{$module_diffs{$_}}, $_;
} elsif (/\.xs\z/ && !/\bt\b/) {
push @{$module_diffs{pm_file_from_xs($_)}}, $_;