aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-11-08 16:18:59 +0100
committerBruce Hill <bruce@bruce-hill.com>2019-11-08 16:18:59 +0100
commit2d4758dc7e3cb2a1ad9508817564d25ce8b96ec7 (patch)
treeb127f33a9aef336215e064a27e031dd1a153a13a /Makefile
parente60e5472b46b50734c5d2fd64e4c07a370f2d944 (diff)
Added query string to CONFIRM definition using `ask`
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5975118..a92ab3b 100644
--- a/Makefile
+++ b/Makefile
@@ -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\")\""'