[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-deployment] branch master updated: Fix syntax error when pasting
From: |
gnunet |
Subject: |
[taler-deployment] branch master updated: Fix syntax error when pasting with nano editor |
Date: |
Fri, 22 Sep 2023 12:59:22 +0200 |
This is an automated email from the git hooks/post-receive script.
javier-sepulveda pushed a commit to branch master
in repository deployment.
The following commit(s) were added to refs/heads/master by this push:
new b7f8a16 Fix syntax error when pasting with nano editor
b7f8a16 is described below
commit b7f8a16c8878fbc329324519fd3d70231499f801
Author: Javier Sepulveda <javier.sepulveda@uv.es>
AuthorDate: Fri Sep 22 12:59:10 2023 +0200
Fix syntax error when pasting with nano editor
---
sandcastle/utils/fund-rewards.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sandcastle/utils/fund-rewards.sh b/sandcastle/utils/fund-rewards.sh
index d53bd99..6f76a39 100755
--- a/sandcastle/utils/fund-rewards.sh
+++ b/sandcastle/utils/fund-rewards.sh
@@ -41,7 +41,7 @@ ACTIVE_FUNDS=$(echo "$JSON" | jq '[.reserves[] |
select(.active)]')
# If there is ANY active reserve, then do the substraction
if [[ $ACTIVE_FUNDS != "[]" ]]; then
-TOTAL_EXCHANGE_INITIAL_AMOUNT=$(echo "$ACTIVE_FUNDS" | jq --arg cur
"$CURRENCY" '[.[].exchange_initial_amount | sub($cur + ":"; "") | tonumber] |>
+TOTAL_EXCHANGE_INITIAL_AMOUNT=$(echo "$ACTIVE_FUNDS" | jq --arg cur
"$CURRENCY" '[.[].exchange_initial_amount | sub($cur + ":"; "") | tonumber] |
add')
TOTAL_PICKUP_AMOUNT=$(echo "$ACTIVE_FUNDS" | jq --arg cur "$CURRENCY"
'[.[].pickup_amount | sub($cur + ":"; "") | tonumber] | add')
TOTAL_RESERVE_AMOUNT=$((TOTAL_EXCHANGE_INITIAL_AMOUNT - TOTAL_PICKUP_AMOUNT))
else
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-deployment] branch master updated: Fix syntax error when pasting with nano editor,
gnunet <=