diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-06-09 16:08:11 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-06-10 08:49:17 +0200 |
commit | eab2f95c0de94e9816c8a6110d20673761dd97a4 (patch) | |
tree | 422e27ecb86fb1f74de1895b9a84c0a181e2799c /scripts | |
parent | f54b6c4bc2f745fa32014819788c90126121729e (diff) | |
download | curl-eab2f95c0de94e9816c8a6110d20673761dd97a4.tar.gz |
wording: avoid blacklist/whitelist stereotypes
Instead of discussing if there's value or meaning (implied or not) in
the colors, let's use words without the same possibly negative
associations.
Closes #5546
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/copyright.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/copyright.pl b/scripts/copyright.pl index 8bb4bc9f1..ff2f250b7 100755 --- a/scripts/copyright.pl +++ b/scripts/copyright.pl @@ -28,7 +28,7 @@ # # regexes of files to not scan -my @whitelist=( +my @skiplist=( '^tests\/data\/test(\d+)$', # test case data '^docs\/cmdline-opts\/[a-z]+(.*)\.d$', # curl.1 pieces '(\/|^)[A-Z0-9_.-]+$', # all uppercase file name, possibly with dot and dash @@ -168,10 +168,10 @@ else { for my $f (@all) { chomp $f; my $skipped = 0; - for my $skip (@whitelist) { + for my $skip (@skiplist) { #print "$f matches $skip ?\n"; if($f =~ /$skip/) { - $whitelisted++; + $skiplisted++; $skipped = 1; #print "$f: SKIPPED ($skip)\n"; last; @@ -186,6 +186,6 @@ for my $f (@all) { print STDERR "$missing files have no copyright\n" if($missing); print STDERR "$wrong files have wrong copyright year\n" if ($wrong); -print STDERR "$whitelisted files are whitelisted\n" if ($whitelisted); +print STDERR "$skiplisted files are skipped\n" if ($skiplisted); exit 1 if($missing || $wrong); |