diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/tools/copyright.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/copyright.pl b/src/tools/copyright.pl index 79458b551c4..d52a67e347d 100755 --- a/src/tools/copyright.pl +++ b/src/tools/copyright.pl @@ -24,7 +24,7 @@ find({wanted => \&wanted, no_chdir => 1}, '.'); sub wanted { # prevent corruption of git indexes, ./.git - if ($File::Find::name =~ m{^\./\.git$}) + if ($_ eq '.git') { $File::Find::prune = 1; return; |