Include "SCCS" in the list of directory names that should
Rafael Garcia-Suarez [Fri, 14 Nov 2003 07:43:17 +0000 (07:43 +0000)]
be ignored by installperl.

p4raw-id: //depot/perl@21723

installperl

index cdc8fc8..a12ec62 100755 (executable)
@@ -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;
     }