This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
configpm, our $summary : unique
[perl5.git] / 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;
     }