summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-09-11 16:45:27 -0500
committerPaul Eggert <eggert@cs.ucla.edu>2022-09-11 17:57:25 -0500
commitf346337dd2899f888dc54e00add233032d7b9a76 (patch)
tree9eae74b0822de50b73b697f2e1d29fd71eb7e838
parentd0ed95b9ff1c8087c9e18f0226ab89823cfebbe3 (diff)
downloadgnulib-f346337dd2899f888dc54e00add233032d7b9a76.tar.gz
maint: avoid unportable ERE \}
* top/maint.mk (sc_copyright_check): Avoid unportable use of \} in ERE.
-rw-r--r--ChangeLog4
-rw-r--r--top/maint.mk2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index de864c1636..5f70a80926 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2022-09-11 Paul Eggert <eggert@cs.ucla.edu>
+ maint: avoid unportable ERE \}
+ * top/maint.mk (sc_copyright_check):
+ Avoid unportable use of \} in ERE.
+
verify: improve maint check
* top/maint.mk (sc_prohibit_verify_without_use):
Adjust re to match verify.h.
diff --git a/top/maint.mk b/top/maint.mk
index 41a67e852c..495a0a2bf6 100644
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -1292,7 +1292,7 @@ sc_copyright_check:
in_vc_files=$(sample-test) \
halt='out of date copyright in $(sample-test); update it' \
$(_sc_search_regexp)
- @require='Copyright @copyright\{\} .*'$$(date +%Y) \
+ @require='Copyright @copyright\{} .*'$$(date +%Y) \
in_vc_files=$(texi) \
halt='out of date copyright in $(texi); update it' \
$(_sc_search_regexp)