From e54eb2b67dada4824b911469c3e313129a057c7c Mon Sep 17 00:00:00 2001 From: Florian Ragwitz Date: Tue, 12 Jul 2011 23:20:12 +0200 Subject: [PATCH] Skip .xs files in t/ dirs when comparing versions --- Porting/cmpVERSION.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Porting/cmpVERSION.pl b/Porting/cmpVERSION.pl index 5dadcf5..14023a6 100755 --- a/Porting/cmpVERSION.pl +++ b/Porting/cmpVERSION.pl @@ -124,7 +124,7 @@ foreach (`git --no-pager diff --name-only $tag_to_compare --diff-filter=ACMRTUXB next if exists $upstream_files{$_}; if (/\.pm\z/) { push @{$module_diffs{$_}}, $_; - } elsif (/\.xs\z/) { + } elsif (/\.xs\z/ && !/\bt\b/) { push @{$module_diffs{pm_file_from_xs($_)}}, $_; } } -- 1.8.3.1