diff options
author | Emil Engler <me@emilengler.com> | 2020-12-31 10:11:49 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-01-02 23:35:59 +0100 |
commit | 725ec470e2ca5b1eb01ffee84d432653a8070722 (patch) | |
tree | 709335fcb15c168bb0eb2fbbc5f31d1e8fb6b6e2 /scripts | |
parent | aa71750687d12446465a873d323aa43a873bfb1b (diff) | |
download | curl-725ec470e2ca5b1eb01ffee84d432653a8070722.tar.gz |
language: s/behaviour/behavior/g
We currently use both spellings the british "behaviour" and the american
"behavior". However "behavior" is more used in the project so I think
it's worth dropping the british name.
Closes #6395
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/copyright.pl | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/copyright.pl b/scripts/copyright.pl index d1f8ef7ec..3a5b12af9 100755 --- a/scripts/copyright.pl +++ b/scripts/copyright.pl @@ -6,7 +6,7 @@ # | (__| |_| | _ <| |___ # \___|\___/|_| \_\_____| # -# Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al. +# Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms @@ -118,7 +118,7 @@ sub checkfile { my $found = scanfile($file); if(!$found) { - print "$file: missing copyright range\n"; + print "$file:1: missing copyright range\n"; return 2; } @@ -140,8 +140,9 @@ sub checkfile { if(defined($commityear) && scalar(@copyright) && $copyright[0]{year} != $commityear) { - print "$file: copyright year out of date, should be $commityear, " . - "is $copyright[0]{year}\n"; + printf "$file:%d: copyright year out of date, should be $commityear, " . + "is $copyright[0]{year}\n", + $copyright[0]{line}; } else { $fine = 1; |