diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-12-06 13:17:13 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-12-06 13:18:21 -0800 |
commit | 1957508d32065fc860601adb5debf57966a5812a (patch) | |
tree | 4cdcdb75b874609eae6db54c45002dc839c665cd /Porting/cmpVERSION.pl | |
parent | ad084f51cd17539ef55b510228156cd4f83c9729 (diff) | |
download | perl-1957508d32065fc860601adb5debf57966a5812a.tar.gz |
cmpVERSION.pl: Check lib/*.pl, too
Diffstat (limited to 'Porting/cmpVERSION.pl')
-rwxr-xr-x | Porting/cmpVERSION.pl | 2 |
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($_)}}, $_; |