gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: fix uninitialized SANDBOX_PORT i


From: gnunet
Subject: [taler-exchange] branch master updated: fix uninitialized SANDBOX_PORT if only starting sandbox without nexus
Date: Thu, 22 Jun 2023 10:27:20 +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 ee2471a8 fix uninitialized SANDBOX_PORT if only starting sandbox 
without nexus
ee2471a8 is described below

commit ee2471a8c32ad319c292164b89f63c59ee80c7b1
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Jun 22 10:27:11 2023 +0200

    fix uninitialized SANDBOX_PORT if only starting sandbox without nexus
---
 src/testing/taler-unified-setup.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/testing/taler-unified-setup.sh 
b/src/testing/taler-unified-setup.sh
index 2602bca0..43649639 100755
--- a/src/testing/taler-unified-setup.sh
+++ b/src/testing/taler-unified-setup.sh
@@ -235,6 +235,12 @@ then
         NEXUS_PORT="0"
         SANDBOX_PORT="1$BANK_PORT"
     fi
+else
+    if [ "1" = "$START_SANDBOX" ]
+    then
+        BANK_PORT=$(taler-config -c "$CONF" -s "BANK" -o "HTTP_PORT")
+        SANDBOX_PORT="$BANK_PORT"
+    fi
 fi
 
 if [ "1" = "$START_SANDBOX" ]

-- 
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]