summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2022-11-19 12:29:46 +0100
committerMattias EngdegÄrd <mattiase@acm.org>2022-11-19 12:34:25 +0100
commit87dd44e982048db8170095e8a76204d77297ea29 (patch)
tree9e31e9b2faca8d19b26f5a48df5ea975412ce9d2 /Makefile.in
parent07127e9c29a7d467f951f2ff939aae62ad744302 (diff)
downloademacs-87dd44e982048db8170095e8a76204d77297ea29.tar.gz
* Makefile.in: Escape literal asterisks in regexps
Discovered by Po Lu.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 45b4a59e3db..66fa688feb2 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -410,7 +410,7 @@ advice-on-failure:
@echo >&2 '***'
@cat Makefile | \
sed -n '/^# ADVICE-ON-FAILURE-BEGIN:${make-target}/,$${p;/^# ADVICE-ON-FAILURE-END:${make-target}/q};' | \
- sed 's/^# /*** /' | grep -v '^*** ADVICE-ON-FAILURE-' >&2
+ sed 's/^# /*** /' | grep -v '^\*\*\* ADVICE-ON-FAILURE-' >&2
@echo >&2 '***'
@exit ${exit-status}
@@ -424,7 +424,7 @@ sanity-check:
echo >&2 '***'; \
cat Makefile | \
sed -n '/^# ADVICE-ON-FAILURE-BEGIN:${make-target}/,$${p;/^# ADVICE-ON-FAILURE-END:${make-target}/q};' | \
- sed 's/^# /*** /' | grep -v '^*** ADVICE-ON-FAILURE-' >&2; \
+ sed 's/^# /*** /' | grep -v '^\*\*\* ADVICE-ON-FAILURE-' >&2; \
echo >&2 '***'; \
exit 1