summaryrefslogtreecommitdiff
path: root/contrib/update-copyright.pl
diff options
context:
space:
mode:
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