summaryrefslogtreecommitdiff
path: root/installperl
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-11-14 07:43:17 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-11-14 07:43:17 +0000
commit559940b257e4566f57a9f46ee38ad0afc55af911 (patch)
tree39af7da4ed20cc771385d1741665dafa4d79bbb0 /installperl
parent09c2fd240e8f8c1831b17c7a56caa83d177fe688 (diff)
downloadperl-559940b257e4566f57a9f46ee38ad0afc55af911.tar.gz
Include "SCCS" in the list of directory names that should
be ignored by installperl. p4raw-id: //depot/perl@21723
Diffstat (limited to 'installperl')
-rwxr-xr-xinstallperl2
1 files changed, 1 insertions, 1 deletions
diff --git a/installperl b/installperl
index cdc8fc8654..a12ec620e1 100755
--- a/installperl
+++ b/installperl
@@ -792,7 +792,7 @@ sub installlib {
my $name = $_;
# Ignore version control directories.
- if (($name eq 'CVS' or $name eq 'RCS' or $name eq '.svn') and -d $name) {
+ if ($name =~ /^(?:CVS|RCS|SCCS|\.svn)\z/ and -d $name) {
$File::Find::prune = 1;
return;
}