[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Automake-NG] [FYI] [ng] maintcheck: fix several spurious failures
From: |
Stefano Lattarini |
Subject: |
[Automake-NG] [FYI] [ng] maintcheck: fix several spurious failures |
Date: |
Sat, 2 Jun 2012 11:00:25 +0200 |
* syntax-checks.mk ($(sc_renamed_variables_rules)): Only match the
"blacklisted" old variable names when they constitute a single word.
Signed-off-by: Stefano Lattarini <address@hidden>
---
syntax-checks.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/syntax-checks.mk b/syntax-checks.mk
index 5a5b6fe..ada7fab 100644
--- a/syntax-checks.mk
+++ b/syntax-checks.mk
@@ -338,7 +338,7 @@ $(sc_renamed_variables_rules): sc_no_% :
$(srcdir)/automake.in \
$(srcdir)/doc/*.texi \
"; \
- if grep -F '$*' $$files; then \
+ if grep -E '\b$*\b' $$files; then \
echo "'\$$($*)' is obsolete and no more used." >&2; \
echo "You should use '$(modern.$*)' instead." >&2; \
exit 1; \
--
1.7.9.5
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Automake-NG] [FYI] [ng] maintcheck: fix several spurious failures,
Stefano Lattarini <=