From eab2f95c0de94e9816c8a6110d20673761dd97a4 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 9 Jun 2020 16:08:11 +0200 Subject: 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 --- scripts/copyright.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts') 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); -- cgit v1.2.3