summaryrefslogtreecommitdiff
path: root/installperl
diff options
context:
space:
mode:
Diffstat (limited to 'installperl')
-rwxr-xr-xinstallperl3
1 files changed, 2 insertions, 1 deletions
diff --git a/installperl b/installperl
index a45c3fdb0b..521e4f5527 100755
--- a/installperl
+++ b/installperl
@@ -834,7 +834,8 @@ sub installlib {
# ignore the Makefiles
return if $name =~ /^makefile$/i;
# ignore the test extensions
- return if $dir =~ m{ext/XS/(?:APItest|Typemap)/};
+ return if $dir =~ m{\bXS/(?:APItest|Typemap)\b};
+ return if $name =~ m{\b(?:APItest|Typemap)\.pm$};
# ignore the demo files
return if $dir =~ /\bdemos?\b/;