summaryrefslogtreecommitdiff
path: root/netzbon/config_libeufin_bank.sh
diff options
context:
space:
mode:
authorMS <ms@taler.net>2023-12-04 23:38:26 +0100
committerMS <ms@taler.net>2023-12-04 23:38:26 +0100
commit12c93fdd074b826e2968592e53ecadca93498e44 (patch)
tree792313d59fa69ad752d980f9ff4183db1ceab9a0 /netzbon/config_libeufin_bank.sh
parent3b92dfba8569341c60cea2816a501b8a7f8b2bca (diff)
downloaddeployment-12c93fdd074b826e2968592e53ecadca93498e44.tar.gz
deployment-12c93fdd074b826e2968592e53ecadca93498e44.tar.bz2
deployment-12c93fdd074b826e2968592e53ecadca93498e44.zip
name collision
Diffstat (limited to 'netzbon/config_libeufin_bank.sh')
-rwxr-xr-xnetzbon/config_libeufin_bank.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/netzbon/config_libeufin_bank.sh b/netzbon/config_libeufin_bank.sh
index d2b5ccd..0c5a4b4 100755
--- a/netzbon/config_libeufin_bank.sh
+++ b/netzbon/config_libeufin_bank.sh
@@ -71,14 +71,14 @@ echo "settings = { bankName: \"${BANK_NAME}\" }" >/etc/libeufin/settings.js
say "DONE"
say "Create exchange account..."
-EXCHANGE_PAYTO="$(sudo -u libeufin-bank libeufin-bank create-account '{"username":"exchange","password":"'${BANK_EXCHANGE_PASSWORD}'","name":"Exchange","is_taler_exchange":true}')?receiver-name=Exchange"
+EXCHANGE_PAYTO_NEW="$(sudo -u libeufin-bank libeufin-bank create-account '{"username":"exchange","password":"'${BANK_EXCHANGE_PASSWORD}'","name":"Exchange","is_taler_exchange":true}')?receiver-name=Exchange"
EXCHANGE_WIRE_GATEWAY_URL_NEW="${PROTO}://bank.$DOMAIN_NAME/accounts/exchange/taler-wire-gateway/"
# Communicating this to the exchange script, as the exchange
# needs these for the /keys response.
if test -z "${EXCHANGE_PAYTO:-}"; then
- echo "EXCHANGE_PAYTO=\"${EXCHANGE_PAYTO}\"" >> config/internal.conf
+ echo "EXCHANGE_PAYTO=\"${EXCHANGE_PAYTO_NEW}\"" >> config/internal.conf
fi
if test -z "${EXCHANGE_WIRE_GATEWAY_URL:-}"; then