commit a78acdf18701a5db0e43ca4776386fb1b4f8c3a9
parent 8749671e927a2483019a39372e1167d66a330421
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Thu, 30 Nov 2017 17:04:01 +0100
typo
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/bin/taler-deployment-top-reserve b/bin/taler-deployment-top-reserve
@@ -1,6 +1,6 @@
#!/bin/bash
-if test -z $TALER_ENVNAME || test -z $TALER_CONFIG_CURRENCY; then
+if test -z $TALER_ENV_NAME || test -z $TALER_CONFIG_CURRENCY; then
echo "Please source ~/activate"
exit 1
fi
@@ -11,7 +11,7 @@ UUID=$(date +"uuid-%N")
taler-exchange-reservemod \
--add="$TALER_CONFIG_CURRENCY:100.0" \
--reserve=S98FEXHW3VJ93EA73CRAQ5E8E4DJE96Z9JXYFHFD169FWS9NS8A0 \
- --sender='{"bank_uri":"https://bank.$TALER_ENVNAME.taler.net/","account_number":7,"type":"test"}' \
+ --sender='{"bank_uri":"https://bank.$TALER_ENV_NAME.taler.net/","account_number":7,"type":"test"}' \
--transfer=$UUID
# note: account number (7) is hardcoded, as tipping
@@ -19,7 +19,7 @@ taler-exchange-reservemod \
taler-merchant-tip-enable \
--amount="$TALER_CONFIG_CURRENCY:100.00" \
- --backend-uri="http://backend.$TALER_ENVNAME.taler.net/" \
+ --backend-uri="http://backend.$TALER_ENV_NAME.taler.net/" \
--credit-uuid=$UUID \
--instance=default \
--expiration=$(date --date="2 weeks" +"%Y-%m-%d")