diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-11-08 16:18:59 +0100 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-11-08 16:18:59 +0100 |
| commit | 2d4758dc7e3cb2a1ad9508817564d25ce8b96ec7 (patch) | |
| tree | b127f33a9aef336215e064a27e031dd1a153a13a /Makefile | |
| parent | e60e5472b46b50734c5d2fd64e4c07a370f2d944 (diff) | |
Added query string to CONFIRM definition using `ask`
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -45,7 +45,7 @@ ifneq (, $(ASKER)) PERCENT := % ifeq ($(shell which $(ASKER)),$(shell which ask 2>/dev/null || echo '<none>')) CFLAGS += -D'ASK="eval \"$$1=\\$$(/usr/bin/env ask --history=bb.hist --prompt=\\\"$$2\033[?25h\\\" --query=\\\"$$3\\\")\""' - CFLAGS += -D'CONFIRM="/usr/bin/env ask -n \"Is that okay?\033[?25h\""' + CFLAGS += -D'CONFIRM="/usr/bin/env ask -n \"$$1Is that okay?\033[?25h\""' endif ifeq ($(shell which $(ASKER)),$(shell which dmenu 2>/dev/null || echo '<none>')) CFLAGS += -D'ASK="eval \"$$1=\\$$(echo \"$$3\" | dmenu -p \"$$2\")\""' |
