From: Stefano Lattarini Date: Sat, 2 Jun 2012 08:59:56 +0000 (+0200) Subject: [ng] maintcheck: fix several spurious failures X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=baf0c10ed15a9af263f720b38a5807abb4468c90;p=thirdparty%2Fautomake.git [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 --- 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; \