Revision 6978
Added by Aaron Marcuse-Kubitza almost 12 years ago
lib/common.Makefile | ||
---|---|---|
54 | 54 |
|
55 | 55 |
wait := read -p $(emph)'Press ENTER to continue:'$(endEmph) REPLY |
56 | 56 |
|
57 |
# Requires `SHELL := /bin/bash` |
|
57 | 58 |
confirm = $(if $(shell read -p $(emph)"$(1)"$(endEmph)$$'$(if\ |
58 | 59 |
$(2),\n$(2))\nContinue? (y/n) ' REPLY; test "$$REPLY" = y && echo t),,\ |
59 | 60 |
$(error Aborting)) |
Also available in: Unified diff
lib/common.Makefile: $(confirm): Added comment that this requires `SHELL := /bin/bash` to work correctly