From bb7e8f79d92f0030ad538ecac06fad0cfdddc407 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Mon, 21 Jan 2013 15:35:48 +0100 Subject: [PATCH] lint: fix spurious failure for 'sc_rm_minus_f' syntax check * maintainer/syntax-checks.mk (sc_rm_minus_f): Also exempt file 't/rm-f-probe.sh'. Signed-off-by: Stefano Lattarini --- maintainer/syntax-checks.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintainer/syntax-checks.mk b/maintainer/syntax-checks.mk index 6bb7662ac..e7e2fc055 100644 --- a/maintainer/syntax-checks.mk +++ b/maintainer/syntax-checks.mk @@ -111,7 +111,7 @@ sc_no_brace_variable_expansions: ## Make sure 'rm' is called with '-f'. sc_rm_minus_f: @if grep -v '^#' $(ams) $(xtests) \ - | grep -vE '/(spy-rm\.tap|subobj-clean.*-pr10697\.sh):' \ + | grep -vE '/(rm-f-probe\.sh|spy-rm\.tap|subobj-clean.*-pr10697\.sh):' \ | grep -E '\)'; \ then \ echo "Suspicious 'rm' invocation." 1>&2; \ -- 2.47.2