gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: minor fixes


From: gnunet
Subject: [taler-exchange] branch master updated: minor fixes
Date: Wed, 23 Aug 2023 21:28:29 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new ad4b829e minor fixes
ad4b829e is described below

commit ad4b829e2feae6dc9aee2d5fe35cf9c6a3d09e6d
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Aug 23 21:28:24 2023 +0200

    minor fixes
---
 src/auditor/batch.sh               | 18 +++++++++---------
 src/auditor/setup.sh               |  2 +-
 src/testing/taler-unified-setup.sh |  3 ++-
 3 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/src/auditor/batch.sh b/src/auditor/batch.sh
index 1f8896c4..36ee37f1 100755
--- a/src/auditor/batch.sh
+++ b/src/auditor/batch.sh
@@ -64,22 +64,22 @@ createdb $TARGET_DB || exit_skip "Could not create database 
$TARGET_DB"
 
 
 # obtain key configuration data
-MASTER_PRIV_FILE=`taler-config -f -c $CONF -s exchange-offline -o 
MASTER_PRIV_FILE`
-MASTER_PRIV_DIR=`dirname $MASTER_PRIV_FILE`
+MASTER_PRIV_FILE=$(taler-config -f -c $CONF -s exchange-offline -o 
MASTER_PRIV_FILE)
+MASTER_PRIV_DIR=$(dirname $MASTER_PRIV_FILE)
 mkdir -p $MASTER_PRIV_DIR
 gnunet-ecc -g1 $MASTER_PRIV_FILE > /dev/null
-MASTER_PUB=`gnunet-ecc -p $MASTER_PRIV_FILE`
-EXCHANGE_URL=`taler-config -c $CONF -s EXCHANGE -o BASE_URL`
-MERCHANT_PORT=`taler-config -c $CONF -s MERCHANT -o PORT`
+MASTER_PUB=$(gnunet-ecc -p $MASTER_PRIV_FILE)
+EXCHANGE_URL=$(taler-config -c $CONF -s EXCHANGE -o BASE_URL)
+MERCHANT_PORT=$(taler-config -c $CONF -s MERCHANT -o PORT)
 MERCHANT_URL=http://localhost:${MERCHANT_PORT}/
-BANK_PORT=`taler-config -c $CONF -s BANK -o HTTP_PORT`
+BANK_PORT=$(taler-config -c $CONF -s BANK -o HTTP_PORT)
 BANK_URL=http://localhost:${BANK_PORT}/
 AUDITOR_URL=http://localhost:8083/
-AUDITOR_PRIV_FILE=`taler-config -f -c $CONF -s AUDITOR -o AUDITOR_PRIV_FILE`
-AUDITOR_PRIV_DIR=`dirname $AUDITOR_PRIV_FILE`
+AUDITOR_PRIV_FILE=$(taler-config -f -c $CONF -s AUDITOR -o AUDITOR_PRIV_FILE)
+AUDITOR_PRIV_DIR=$(dirname $AUDITOR_PRIV_FILE)
 mkdir -p $AUDITOR_PRIV_DIR
 gnunet-ecc -g1 $AUDITOR_PRIV_FILE > /dev/null
-AUDITOR_PUB=`gnunet-ecc -p $AUDITOR_PRIV_FILE`
+AUDITOR_PUB=$(gnunet-ecc -p $AUDITOR_PRIV_FILE)
 
 echo "AUDITOR PUB is $AUDITOR_PUB using file $AUDITOR_PRIV_FILE"
 
diff --git a/src/auditor/setup.sh b/src/auditor/setup.sh
index 3776978d..87946b05 100755
--- a/src/auditor/setup.sh
+++ b/src/auditor/setup.sh
@@ -16,7 +16,7 @@ function exit_cleanup()
     if [ ! -z ${SETUP_PID+x} ]
     then
         echo "Killing taler-unified-setup ($SETUP_PID)" >&2
-        kill -TERM "$SETUP_PID"
+        kill -TERM "$SETUP_PID" 2> /dev/null || true
         wait
     fi
 }
diff --git a/src/testing/taler-unified-setup.sh 
b/src/testing/taler-unified-setup.sh
index bdd7bf19..bb77ae37 100755
--- a/src/testing/taler-unified-setup.sh
+++ b/src/testing/taler-unified-setup.sh
@@ -462,12 +462,13 @@ fi
 
 if [ "1" = "$START_FAKEBANK" ]
 then
-    echo "Setting up fakebank ..."
+    echo -n "Setting up fakebank ..."
     $USE_VALGRIND taler-fakebank-run\
                   -c "$CONF" \
                   -L "$LOGLEVEL" \
                   -n 4 \
                   2> taler-fakebank-run.log &
+    echo " OK"
 fi
 
 if [ "1" = "$START_EXCHANGE" ]

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]