diff options
author | davidovski <david@davidovski.xyz> | 2023-01-14 22:45:11 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2023-01-14 22:45:11 +0000 |
commit | 6d05aeed3a6ee0e9443838e5ba85dee76e0b9e37 (patch) | |
tree | 8c2bcbfed5470832f37f68ea6cf9692a0f62a0b2 /src/util.sh | |
parent | 9019894c1db1a36941c66cfd1a3a557103b7495e (diff) |
Allow no deps for building
Diffstat (limited to 'src/util.sh')
-rw-r--r-- | src/util.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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' ] } |