]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
scripts/copyright.pl: fix the exclusion to not ignore man pages
authorDaniel Stenberg <daniel@haxx.se>
Thu, 2 Jun 2022 12:20:53 +0000 (14:20 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 2 Jun 2022 13:39:14 +0000 (15:39 +0200)
Ref: #8869
Closes #8952

scripts/copyright.pl

index 1033f8778ae4a8ac4601e9e33006cd857b8c9246..dcb1b8b38f3225b3039b622bcaf74cb2848472df 100755 (executable)
 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