diff top/maint.mk @ 12385:ad3ca6ce84b0

maint.mk: backslash-escape parens in default regexp * top/maint.mk (news-check-regexp): Now that we're using grep -E, backslash-escape the literal parentheses.
author Jim Meyering <meyering@redhat.com>
date Sat, 05 Dec 2009 10:02:01 +0100
parents 8620ff59758a
children ab69336c0252
line wrap: on
line diff
--- a/top/maint.mk	Sat Dec 05 09:35:28 2009 +0100
+++ b/top/maint.mk	Sat Dec 05 10:02:01 2009 +0100
@@ -80,7 +80,7 @@
 # Override this in cfg.mk if you are using a different format in your
 # NEWS file.
 today = $(shell date +%Y-%m-%d)
-news-check-regexp ?= '^\*.* $(VERSION_REGEXP) ($(today))'
+news-check-regexp ?= '^\*.* $(VERSION_REGEXP) \($(today)\)'
 
 # Prevent programs like 'sort' from considering distinct strings to be equal.
 # Doing it here saves us from having to set LC_ALL elsewhere in this file.