From 1957508d32065fc860601adb5debf57966a5812a Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Tue, 6 Dec 2011 13:17:13 -0800 Subject: [PATCH] cmpVERSION.pl: Check lib/*.pl, too --- Porting/cmpVERSION.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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($_)}}, $_; -- 2.7.4