diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-07-23 14:49:10 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-07-23 14:49:10 +0200 |
commit | baef188ed0a7aec86724322e7717af5360232c3d (patch) | |
tree | dfce6901be2ba6f28d89ffb11681d827eaaeb57d | |
parent | d189fccd790a36046e1191d7170f45feb3dfb122 (diff) | |
download | exchange-baef188ed0a7aec86724322e7717af5360232c3d.tar.xz |
tolerate unset
-rwxr-xr-x | src/testing/taler-unified-setup.sh | 2 |
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/") |