summaryrefslogtreecommitdiff
path: root/installperl
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-05-31 18:48:59 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-05-31 18:48:59 +0000
commit056a8fbecb5430f5c3c47e7377e5467379e227be (patch)
tree1f3a80229910e05cfb5127f99eed8c159d3f3674 /installperl
parent5c3943b6e9c69b628b00a6d2e7f5e1ac3f2ac312 (diff)
downloadperl-056a8fbecb5430f5c3c47e7377e5467379e227be.tar.gz
Don't install test.pl files.
p4raw-id: //depot/perl@19651
Diffstat (limited to 'installperl')
-rwxr-xr-xinstallperl4
1 files changed, 2 insertions, 2 deletions
diff --git a/installperl b/installperl
index 95f9793437..17d1b39aa1 100755
--- a/installperl
+++ b/installperl
@@ -754,8 +754,8 @@ sub installlib {
}
# ignore patch backups, RCS files, emacs backup & temp files and the
- # .exists files, .PL files, and .t files.
- return if $name =~ m{\.orig$|\.rej$|~$|^#.+#$|,v$|^\.exists|\.PL$|\.t$} ||
+ # .exists files, .PL files, and test files.
+ return if $name =~ m{\.orig$|\.rej$|~$|^#.+#$|,v$|^\.exists|\.PL$|\.t$|^test\.pl$} ||
$dir =~ m{/t(?:/|$)};
# ignore the cpan script in lib/CPAN/bin (installed later with other utils)
return if $name eq 'cpan';