From f346337dd2899f888dc54e00add233032d7b9a76 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 11 Sep 2022 16:45:27 -0500 Subject: maint: avoid unportable ERE \} * top/maint.mk (sc_copyright_check): Avoid unportable use of \} in ERE. --- ChangeLog | 4 ++++ top/maint.mk | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index de864c1636..5f70a80926 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2022-09-11 Paul Eggert + 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) -- cgit v1.2.1