From 6d05aeed3a6ee0e9443838e5ba85dee76e0b9e37 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sat, 14 Jan 2023 22:45:11 +0000 Subject: Allow no deps for building --- src/util.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util.sh') diff --git a/src/util.sh b/src/util.sh index 871fe2a..6a2dfe9 100644 --- a/src/util.sh +++ b/src/util.sh @@ -91,7 +91,7 @@ wait_for_extract () { prompt_question () { $NOCONFIRM && return 0 printf "$1 [Y/n] " - read response + read var [ "${var%${var#?}}"x != 'nx' ] } -- cgit v1.2.1