diff options
Diffstat (limited to 'Master/Tools')
-rw-r--r-- | Master/Tools/FileUtils.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/Tools/FileUtils.pm b/Master/Tools/FileUtils.pm index 99e777aa17f..84d070bd8fd 100644 --- a/Master/Tools/FileUtils.pm +++ b/Master/Tools/FileUtils.pm @@ -204,7 +204,7 @@ sub walk_dir { opendir (DIR, $dir) || die "opendir($dir) failed: $!"; while (my $d = readdir (DIR)) { # do not forget to remove "." and ".." - next if $d =~ /^\.\.?$/; + next if $d =~ /^\.(\.?|svn)$/; push (@l, $d); } closedir (DIR) || warn "closedir($dir) failed: $!"; @@ -588,7 +588,7 @@ sub globexpand_push { my ($file); $dir =~ s@\\@/@g; foreach $file (@l) { - next if $file =~ /^\.\.?$/; + next if $file =~ /^\.(\.?|svn)$/; my $path = "$dir/$file"; next if $path =~ m/^${Tpm::IgnoredFiles}$/; if (-f $path) { |