[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] maint: avoid unportable ERE \}
From: |
Paul Eggert |
Subject: |
[PATCH] maint: avoid unportable ERE \} |
Date: |
Sun, 11 Sep 2022 17:58:07 -0500 |
* 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 <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)
--
2.37.2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] maint: avoid unportable ERE \},
Paul Eggert <=