gnunet-svn
[Top][All Lists]
Advanced

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

[taler-deployment] branch master updated: empty string check


From: gnunet
Subject: [taler-deployment] branch master updated: empty string check
Date: Mon, 06 Mar 2023 15:55:59 +0100

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

ms pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new 419c02d  empty string check
419c02d is described below

commit 419c02da795d4fb5c1a0cde5601394c0ed2a68b6
Author: MS <ms@taler.net>
AuthorDate: Mon Mar 6 15:55:46 2023 +0100

    empty string check
---
 nlnet/task1/start.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/nlnet/task1/start.sh b/nlnet/task1/start.sh
index 11ff853..18bf9b8 100755
--- a/nlnet/task1/start.sh
+++ b/nlnet/task1/start.sh
@@ -5,6 +5,11 @@ set -eu
 export 
LIBEUFIN_SANDBOX_ADMIN_PASSWORD=${LIBEUFIN_SANDBOX_ADMIN_PASSWORD:-admin}
 export 
LIBEUFIN_SANDBOX_DB_CONNECTION="jdbc:sqlite:/libeufin-data/libeufin.sqlite"
 libeufin-sandbox config --without-registrations --currency ${CURRENCY:-EUR} 
default
+if test -z $LIBEUFIN_EXPOSED_PORT; then
+  echo ERROR: LIBEUFIN_EXPOSED_PORT is an empty string.
+  exit 1
+fi
+
 sed -i "s/localhost/localhost:$LIBEUFIN_EXPOSED_PORT/" 
/etc/libeufin/demobank-ui-settings.js
 service nginx start
 libeufin-sandbox serve --port 5016 --no-localhost-only

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