summaryrefslogtreecommitdiff
path: root/installperl
diff options
context:
space:
mode:
Diffstat (limited to 'installperl')
-rwxr-xr-xinstallperl5
1 files changed, 3 insertions, 2 deletions
diff --git a/installperl b/installperl
index a12ec620e1..bd10643b1e 100755
--- a/installperl
+++ b/installperl
@@ -801,8 +801,9 @@ sub installlib {
# .exists files, .PL files, and test files.
return if $name =~ m{\.orig$|\.rej$|~$|^#.+#$|,v$|^\.exists|\.PL$|\.plc$|\.t$|^test\.pl$} ||
$dir =~ m{/t(?:/|$)};
- # ignore the cpan script in lib/CPAN/bin (installed later with other utils)
- return if $name eq 'cpan';
+ # ignore the cpan script in lib/CPAN/bin and the instmodsh and xsubpp
+ # scripts in lib/ExtUtils (they're installed later with other utils)
+ return if $name =~ /^(?:cpan|instmodsh|xsubpp)\z/;
# ignore the Makefiles
return if $name =~ /^makefile$/i;
# ignore the test extensions