scripts/copyright.pl: fix the exclusion to not ignore man pages

Ref: #8869
Closes #8952
This commit is contained in:
Daniel Stenberg 2022-06-02 14:20:53 +02:00
parent df829a1fa9
commit e517b63223
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -31,7 +31,10 @@
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
# all uppercase file name, possibly with dot and dash. But do not exclude
# the man pages:
'(\/|^)[A-Z0-9_.-]+[^31]$',
'(\/|^)[A-Z0-9_-]+\.md$', # all uppercase file name with .md extension
'.gitignore', # wherever they are
'.gitattributes', # wherever they are