summaryrefslogtreecommitdiff
path: root/Porting
diff options
context:
space:
mode:
authorFlorian Ragwitz <rafl@debian.org>2011-07-12 23:20:12 +0200
committerFlorian Ragwitz <rafl@debian.org>2011-07-12 23:20:12 +0200
commite54eb2b67dada4824b911469c3e313129a057c7c (patch)
tree204c7968db065a9de0f0424fb9203d0360678f10 /Porting
parent97616553a9e618d3688ddf6c59f5876efc177376 (diff)
downloadperl-e54eb2b67dada4824b911469c3e313129a057c7c.tar.gz
Skip .xs files in t/ dirs when comparing versions
Diffstat (limited to 'Porting')
-rwxr-xr-xPorting/cmpVERSION.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Porting/cmpVERSION.pl b/Porting/cmpVERSION.pl
index 5dadcf5639..14023a6f2b 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($_)}}, $_;
}
}