]> granicus.if.org Git - postgresql/commitdiff
Skip 'ico' and 'bin' extensions in copyright changes.
authorBruce Momjian <bruce@momjian.us>
Mon, 2 Jan 2012 00:36:10 +0000 (19:36 -0500)
committerBruce Momjian <bruce@momjian.us>
Mon, 2 Jan 2012 00:36:10 +0000 (19:36 -0500)
src/tools/copyright.pl

index 705edaf3ee135759950e23e2b59ff3dad972b1e3..79458b551c4b5026619547417c8765b118fe4ccb 100755 (executable)
@@ -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;