aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-07-23 14:49:10 +0200
committerChristian Grothoff <christian@grothoff.org>2023-07-23 14:49:10 +0200
commitbaef188ed0a7aec86724322e7717af5360232c3d (patch)
treedfce6901be2ba6f28d89ffb11681d827eaaeb57d
parentd189fccd790a36046e1191d7170f45feb3dfb122 (diff)
downloadexchange-baef188ed0a7aec86724322e7717af5360232c3d.tar.xz
tolerate unset
-rwxr-xr-xsrc/testing/taler-unified-setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testing/taler-unified-setup.sh b/src/testing/taler-unified-setup.sh
index e1365913d..09999aef2 100755
--- a/src/testing/taler-unified-setup.sh
+++ b/src/testing/taler-unified-setup.sh
@@ -244,7 +244,7 @@ if [ "1" = "$START_SANDBOX" ]
then
#
LIBEUFIN_SANDBOX_DB_CONNECTION=$(taler-config -c "$CONF" -s "libeufin-sandbox" -o "DB_CONNECTION")
- if [ ! -z "$PGHOST" ]
+ if [ ! -z "${PGHOST:+}" ]
then
EHOST=$(echo $PGHOST | sed -e "s/\//\\\\\//g")
LIBEUFIN_SANDBOX_DB_CONNECTION=$(echo $LIBEUFIN_SANDBOX_DB_CONNECTION | sed -e "s/\/var\/run\/postgresql/$EHOST/")