From: Father Chrysostomos Date: Tue, 6 Dec 2011 21:17:13 +0000 (-0800) Subject: cmpVERSION.pl: Check lib/*.pl, too X-Git-Tag: accepted/trunk/20130322.191538~1852 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1957508d32065fc860601adb5debf57966a5812a;p=platform%2Fupstream%2Fperl.git cmpVERSION.pl: Check lib/*.pl, too --- diff --git a/Porting/cmpVERSION.pl b/Porting/cmpVERSION.pl index 14023a6..e618533 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($_)}}, $_;