8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0685047 commit 59076b2Copy full SHA for 59076b2
src/tools/copyright.pl
@@ -11,6 +11,7 @@
11
use warnings;
12
13
use File::Find;
14
+use File::Basename;
15
use Tie::File;
16
17
my $pgdg = 'PostgreSQL Global Development Group';
@@ -25,15 +26,14 @@
25
26
27
sub wanted
28
{
-
29
# prevent corruption of git indexes by ignoring any .git/
30
- if ($_ eq '.git')
+ if (basename($_) eq '.git')
31
32
$File::Find::prune = 1;
33
return;
34
}
35
36
- return if !-f $File::Find::name || -l $File::Find::name;
+ return if ! -f $File::Find::name || -l $File::Find::name;
37
38
# skip file names with binary extensions
39
# How are these updated? bjm 2012-01-02
0 commit comments