From baf0c10ed15a9af263f720b38a5807abb4468c90 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Sat, 2 Jun 2012 10:59:56 +0200 Subject: [PATCH] [ng] maintcheck: fix several spurious failures * syntax-checks.mk ($(sc_renamed_variables_rules)): Only match the "blacklisted" old variable names when they constitute a single word. Signed-off-by: Stefano Lattarini --- syntax-checks.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax-checks.mk b/syntax-checks.mk index 5a5b6fe0b..ada7fabb8 100644 --- a/syntax-checks.mk +++ b/syntax-checks.mk @@ -338,7 +338,7 @@ $(sc_renamed_variables_rules): sc_no_% : $(srcdir)/automake.in \ $(srcdir)/doc/*.texi \ "; \ - if grep -F '$*' $$files; then \ + if grep -E '\b$*\b' $$files; then \ echo "'\$$($*)' is obsolete and no more used." >&2; \ echo "You should use '$(modern.$*)' instead." >&2; \ exit 1; \ -- 2.47.2