summaryrefslogtreecommitdiff
path: root/maintainer/syntax-checks.mk
diff options
context:
space:
mode:
Diffstat (limited to 'maintainer/syntax-checks.mk')
-rw-r--r--maintainer/syntax-checks.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/maintainer/syntax-checks.mk b/maintainer/syntax-checks.mk
index e071451c8..7cd6d198a 100644
--- a/maintainer/syntax-checks.mk
+++ b/maintainer/syntax-checks.mk
@@ -150,7 +150,7 @@ sc_no_brace_variable_expansions:
sc_rm_minus_f:
@if grep -v '^#' $(ams) $(xtests) \
| grep -vE '/(rm-f-probe\.sh|spy-rm\.tap|subobj-clean.*-pr10697\.sh):' \
- | grep -E '\<rm ([^-]|\-[^f ]*\>)'; \
+ | grep -E '\<rm ([^-]|-[^f ]*\>)'; \
then \
echo "Suspicious 'rm' invocation." 1>&2; \
exit 1; \