gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-deployment] branch master updated: Comments.


From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated: Comments.
Date: Fri, 08 Jun 2018 12:48:23 +0200

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

marcello pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new b46fd3c  Comments.
b46fd3c is described below

commit b46fd3cbf7f03f26c3248b5473cbb07809bf2ea3
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Jun 8 12:48:09 2018 +0200

    Comments.
---
 bin/taler-deployment-config-sign | 7 ++++++-
 bin/taler-deployment-start       | 2 +-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/bin/taler-deployment-config-sign b/bin/taler-deployment-config-sign
index 8ae03d2..ff170f5 100755
--- a/bin/taler-deployment-config-sign
+++ b/bin/taler-deployment-config-sign
@@ -5,7 +5,12 @@ base=$HOME
 export PATH="$base/deployment":$PATH
 
 for f in $HOME/shared-data/exchange/wire/*.json
-  do chmod g+w $f
+  # If this command is run by the blue-green party
+  # that did NOT create the .json file(s) then the
+  # right group permission is already set (and the
+  # 'chmod' below would also fail).
+  do chmod g+w $f || true
 done
 
+# Sign wire details.
 taler-exchange-wire
diff --git a/bin/taler-deployment-start b/bin/taler-deployment-start
index 1e6f26b..5094149 100755
--- a/bin/taler-deployment-start
+++ b/bin/taler-deployment-start
@@ -9,7 +9,7 @@ ulimit -c $((100 * 1024)) &>/dev/null || true
 
 cd $HOME
 
-if [[ ! -e ~/.config/taler.conf ]]; then
+if [[ ! -e $HOME/.config/taler.conf ]]; then
   taler-deployment-config-generate
 fi
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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