summaryrefslogtreecommitdiff
path: root/top
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2022-01-28 14:54:00 +0000
committerPádraig Brady <P@draigBrady.com>2022-01-28 15:03:19 +0000
commita3e1e74e65af0649224d84813df2e9ebea2e9a67 (patch)
tree7fcea638e1b663aa4f33778584a9eee37d8f8424 /top
parent69822de4243b40e1da10046e1c12e79703ea9a7d (diff)
downloadgnulib-a3e1e74e65af0649224d84813df2e9ebea2e9a67.tar.gz
maintainer-makefile: fix sc_error_message_uppercase false failure
* top/maint.mk (sc_error_message_uppercase): Don't trigger for any of the PRI... defines. Note we add an extra constraint here that PRI always follows a double quote, but that's almost always the case, or can be easily made so by prepending "" for example.
Diffstat (limited to 'top')
-rw-r--r--top/maint.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/top/maint.mk b/top/maint.mk
index 344acb2af6..92cef425cf 100644
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -473,7 +473,7 @@ sc_error_message_uppercase:
@$(VC_LIST_EXCEPT) \
| xargs $(GREP) -nEA2 '[^rp]error *\(' /dev/null \
| $(GREP) -E '"[A-Z]' \
- | $(GREP) -vE '"FATAL|"WARNING|"Java|"C#|PRIuMAX' \
+ | $(GREP) -vE '"FATAL|"WARNING|"Java|"C#|"PRI' \
&& { echo '$(ME): found capitalized error message' 1>&2; \
exit 1; } \
|| :