From e23a89ed6192cea452e3103edfe464129afe6ef9 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Wed, 4 Jan 2012 10:09:25 +0100 Subject: [PATCH] maintcheck: avoid false positive in sc_tests_plain_make * Makefile.am (sc_tests_plain_make): Ensure to only match full `make' words. Avoid false positive in `silent-nested-vars.test'. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index ed01bbb00..b2cba6229 100644 --- a/Makefile.am +++ b/Makefile.am @@ -401,7 +401,7 @@ sc_tests_make_without_am_makeflags: ## Tests should never call make directly. sc_tests_plain_make: - @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*make'; then \ + @if grep -v '^#' $(srcdir)/tests/*.test | $(EGREP) ':[ ]*make( |$$)'; then \ echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \ exit 1; \ fi -- 2.47.2