taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 13639df5cb692ebc79ba58ae7d5e6738ea2bc2b1
parent 1aed6343b88bd476af4344e5cbdf368b5bd3ba20
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date:   Fri, 17 Jun 2016 22:56:34 +0200

removing backticks in switcher script

Diffstat:
Mtaler-build/switch_active.sh | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/taler-build/switch_active.sh b/taler-build/switch_active.sh @@ -6,11 +6,13 @@ # The script is not portable to system using different usernames and directories, # respect to taler.net, for blue-green deployments +set -eu + # figure out which is the inactive -ACTIVE=`readlink /home/test/sockets | awk -F/ '{print $3}'` +ACTIVE=$(readlink /home/test/sockets | awk -F/ '{print $3}') # exit if active -if [[ `whoami` == $ACTIVE ]] +if [[ $(whoami) == $ACTIVE ]] then exit fi