maint: avoid unportable ERE \}
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 11 Sep 2022 21:45:27 +0000 (16:45 -0500)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 11 Sep 2022 22:57:25 +0000 (17:57 -0500)
* top/maint.mk (sc_copyright_check):
Avoid unportable use of \} in ERE.

ChangeLog
top/maint.mk

index de864c16369e2f2a52177963a6d12cc5d6673528..5f70a809260e4838c3135b0853118cbad151c8c1 100644 (file)
--- 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.
index 41a67e852cb8ff7e3605446b97c6b2f45a7fbda4..495a0a2bf647b1cbd1c468e8771abb4d25574ba5 100644 (file)
@@ -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)