[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-deployment] branch master updated: script
From: |
gnunet |
Subject: |
[taler-deployment] branch master updated: script |
Date: |
Mon, 25 Mar 2024 10:02:00 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository deployment.
The following commit(s) were added to refs/heads/master by this push:
new b623ee2 script
b623ee2 is described below
commit b623ee24bce6fb24af0b529afd8ec27077dfb039
Author: Florian Dold <florian@dold.me>
AuthorDate: Mon Mar 25 10:01:55 2024 +0100
script
---
regional-currency/list-incoming.sh | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/regional-currency/list-incoming.sh
b/regional-currency/list-incoming.sh
index 3ef7da7..aa12b33 100755
--- a/regional-currency/list-incoming.sh
+++ b/regional-currency/list-incoming.sh
@@ -29,12 +29,14 @@ function runsql() {
printf -v "$2" '%s' "$res"
}
-#
-# Check for conversion trigger
-#
-
runsql "$exchange_db" reserves_in <<EOF
select reserve_pub from exchange.reserves_in;
EOF
-echo $reserves_in
+mapfile -t lines <<<$reserves_in
+
+for line in "${lines[@]}"; do
+ python3 -c "import sys;
print(sys.argv[1].encode('utf-8').decode('unicode_escape'))" "$line" |
gnunet-base32
+ echo
+done
+
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-deployment] branch master updated: script,
gnunet <=