diff options
Diffstat (limited to 'installperl')
-rwxr-xr-x | installperl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/installperl b/installperl index f36b4c0d05..3379369ccd 100755 --- a/installperl +++ b/installperl @@ -744,7 +744,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$|~$|^#.+#$|,v$|^\.exists|\.PL$|\.t$}; + return if $name =~ m{\.orig$|~$|^#.+#$|,v$|^\.exists|\.PL$|\.t$} || + $dir =~ m{/t(?:/|$)}; $name = "$dir/$name" if $dir ne ''; |