summaryrefslogtreecommitdiff
path: root/syntax-checks.mk
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-06-11 21:21:32 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-06-11 21:21:32 +0200
commit511b6896793aa4b6b76e9c220c7c7cab58ed7ae7 (patch)
treed4d9cda7ad9bdbfa042b92b71cf0544d7bb98c33 /syntax-checks.mk
parentc39549d0ddf3c1dfa998765559f99213e5aa155c (diff)
downloadautomake-511b6896793aa4b6b76e9c220c7c7cab58ed7ae7.tar.gz
maintcheck: fix failures, both real and spurious
* syntax-checks.mk (sc_rm_minus_f): Whitelist the 't/subobj-clean*-pr10697.sh' tests. * t/subobj-clean-pr10697.sh: When redefining PATH, use '$PATH_SEPARATOR', not hard-coded ':'. * t/subobj-clean-lt-pr10697.sh: Likewise. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'syntax-checks.mk')
-rw-r--r--syntax-checks.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax-checks.mk b/syntax-checks.mk
index 4b226a0bd..c09156e8f 100644
--- a/syntax-checks.mk
+++ b/syntax-checks.mk
@@ -169,7 +169,7 @@ sc_no_brace_variable_expansions:
## Make sure 'rm' is called with '-f'.
sc_rm_minus_f:
@if grep -v '^#' $(ams) $(xtests) \
- | grep -v '/spy-rm\.tap:' \
+ | grep -vE '/(spy-rm\.tap|subobj-clean.*-pr10697\.sh):' \
| grep -E '\<rm ([^-]|\-[^f ]*\>)'; \
then \
echo "Suspicious 'rm' invocation." 1>&2; \