commit f1c684c9478135888da405552dc6bdc407fd2f95
parent 695a517a2d20e85da64f02ab9604b2fff74b526e
Author: MS <ms@taler.net>
Date: Tue, 24 Aug 2021 22:31:50 -1100
Fix unbound argument with default expansion (bash).
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/taler-deployment-prepare b/bin/taler-deployment-prepare
@@ -14,7 +14,7 @@ source "$HOME/activate"
# $1 = {yes,no} indicates WITH_DB_RESET. Defaults to no.
# Helps avoiding color Y destroying the DB while color X is in
# production.
-WITH_DB_RESET=no
+WITH_DB_RESET=${1-no}
if test $1 = yes; then
WITH_DB_RESET=yes