summaryrefslogtreecommitdiff
path: root/contrib/update-copyright.pl
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2013-12-05 14:40:18 -0500
committerMorgan Deters <mdeters@cs.nyu.edu>2013-12-05 15:06:19 -0500
commitc0b0632a83ca1e997b9002bf9e67b0dbbbd154b1 (patch)
tree2626779846c1702645ee7792dc9aa681190bc2b4 /contrib/update-copyright.pl
parent9ac41cbe841066f5a222ef26bae227afc3bac3dc (diff)
Script fixes; when determining authorship of source files, don't count copyright-updating commits.
Diffstat (limited to 'contrib/update-copyright.pl')
-rwxr-xr-xcontrib/update-copyright.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/update-copyright.pl b/contrib/update-copyright.pl
index f7ce15f6c..720e69d16 100755
--- a/contrib/update-copyright.pl
+++ b/contrib/update-copyright.pl
@@ -63,7 +63,7 @@ use Fcntl ':mode';
my $dir = $0;
$dir =~ s,/[^/]+/*$,,;
-if($#ARGV >= 0 && $ARGV[0] eq '-h' || $ARGV[0] eq '--help') {
+if($#ARGV >= 0 && ($ARGV[0] eq '-h' || $ARGV[0] eq '--help')) {
open(my $SELF, $0) || die "error opening $0 for reading";
while($_ = <$SELF>) {
last if !/^#/;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback