summaryrefslogtreecommitdiff
path: root/src/tools/copyright.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/copyright.pl')
-rwxr-xr-xsrc/tools/copyright.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/copyright.pl b/src/tools/copyright.pl
index 126f6368d9d..f7e80fb00e5 100755
--- a/src/tools/copyright.pl
+++ b/src/tools/copyright.pl
@@ -26,6 +26,7 @@ find({ wanted => \&wanted, no_chdir => 1 }, '.');
sub wanted
{
+
# prevent corruption of git indexes by ignoring any .git/
if (basename($_) eq '.git')
{
@@ -33,7 +34,7 @@ sub wanted
return;
}
- return if ! -f $File::Find::name || -l $File::Find::name;
+ return if !-f $File::Find::name || -l $File::Find::name;
# skip file names with binary extensions
# How are these updated? bjm 2012-01-02