From: Bruce Momjian Date: Mon, 2 Jan 2012 00:36:10 +0000 (-0500) Subject: Skip 'ico' and 'bin' extensions in copyright changes. X-Git-Tag: REL9_2_BETA1~637 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f4cd747a4d760600ec9791a95957e993c320ba63;p=postgresql Skip 'ico' and 'bin' extensions in copyright changes. --- diff --git a/src/tools/copyright.pl b/src/tools/copyright.pl index 705edaf3ee..79458b551c 100755 --- a/src/tools/copyright.pl +++ b/src/tools/copyright.pl @@ -31,6 +31,7 @@ sub wanted { } return if ! -f $File::Find::name || -l $File::Find::name; + return if ($_ =~ m/\.(ico|bin)$); my @lines; tie @lines, "Tie::File", $File::Find::name;