commit b46fd3cbf7f03f26c3248b5473cbb07809bf2ea3 parent f97f448859d090c61ba8e922ee5d2e2003876f75 Author: Marcello Stanisci <stanisci.m@gmail.com> Date: Fri, 8 Jun 2018 12:48:09 +0200 Comments. Diffstat:
| M | bin/taler-deployment-config-sign | | | 7 | ++++++- |
| M | 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 @@ -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 @@ -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