[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FYI] {maint} lint: fix spurious failure for 'sc_rm_minus_f' syntax chec
From: |
Stefano Lattarini |
Subject: |
[FYI] {maint} lint: fix spurious failure for 'sc_rm_minus_f' syntax check |
Date: |
Mon, 21 Jan 2013 15:37:31 +0100 |
* maintainer/syntax-checks.mk (sc_rm_minus_f): Also exempt
file 't/rm-f-probe.sh'.
Signed-off-by: Stefano Lattarini <address@hidden>
---
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 6bb7662..e7e2fc0 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 '\<rm ([^-]|\-[^f ]*\>)'; \
then \
echo "Suspicious 'rm' invocation." 1>&2; \
--
1.8.1.rc3.192.g2d0029e
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [FYI] {maint} lint: fix spurious failure for 'sc_rm_minus_f' syntax check,
Stefano Lattarini <=