diff options
author | Morgan Deters <mdeters@cs.nyu.edu> | 2013-12-05 14:40:18 -0500 |
---|---|---|
committer | Morgan Deters <mdeters@cs.nyu.edu> | 2013-12-05 15:06:19 -0500 |
commit | c0b0632a83ca1e997b9002bf9e67b0dbbbd154b1 (patch) | |
tree | 2626779846c1702645ee7792dc9aa681190bc2b4 /contrib/update-copyright.pl | |
parent | 9ac41cbe841066f5a222ef26bae227afc3bac3dc (diff) |
Script fixes; when determining authorship of source files, don't count copyright-updating commits.
Diffstat (limited to 'contrib/update-copyright.pl')
-rwxr-xr-x | contrib/update-copyright.pl | 2 |
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 !/^#/; |