summaryrefslogtreecommitdiff
path: root/maintainer/syntax-checks.mk
diff options
context:
space:
mode:
authormeyering <meyering@hx.meyering.net.(none)>2021-07-11 19:40:06 -0700
committerJim Meyering <meyering@fb.com>2021-07-11 19:41:58 -0700
commit15641c2fc329b549b0c2288697484495b6f167cb (patch)
tree88fb344e21c572c5e448d066230e2c2b107d78fb /maintainer/syntax-checks.mk
parenta470a47f2035e197b6ca67890ab09ad341e95bb9 (diff)
downloadautomake-15641c2fc329b549b0c2288697484495b6f167cb.tar.gz
maint: avoid syntax-check failures
* maintainer/syntax-checks.mk (toupper): Tighten the regexp to avoid a new false-match in t/python-prefix.sh. * t/instmany-python.sh: Use run_make in place of some $MAKE uses. * t/python-prefix.sh: Likewise. * t/python-vars.sh: Likewise.
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 bf564a710..56f853888 100644
--- a/maintainer/syntax-checks.mk
+++ b/maintainer/syntax-checks.mk
@@ -415,7 +415,7 @@ sc_tests_overriding_macros_on_cmdline:
-e 's/ exp="[^"]*"/ /' \
-e 's/ exp=[^ ]/ /' \
$(filter-out %/am-test-lib.sh,$(xtests)) \
- | grep '\$$MAKE .*='; then \
+ | grep -E '\$$MAKE .*\S+='; then \
echo 'Rewrite "$$MAKE foo=bar" as "run_make foo=bar" in the lines above,'; \
echo 'it is more portable.'; \
exit 1; \