summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2017-03-06 23:02:46 +0100
committerMarcello Stanisci <marcello.stanisci@inria.fr>2017-03-06 23:02:46 +0100
commit43b60ee83d5b36c8aebf8fdcf0d4719d62762c47 (patch)
treee0deda616632d53d8a5bdeeb4aaf37652a6d4707
parent37ea3f3cffcae5762506f17b571b59762a03219f (diff)
downloaddeployment-43b60ee83d5b36c8aebf8fdcf0d4719d62762c47.tar.gz
deployment-43b60ee83d5b36c8aebf8fdcf0d4719d62762c47.tar.bz2
deployment-43b60ee83d5b36c8aebf8fdcf0d4719d62762c47.zip
Use spaces around = in bash's 'test' command.
-rwxr-xr-xtaler-build/switch_bluegreen.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/taler-build/switch_bluegreen.sh b/taler-build/switch_bluegreen.sh
index 8fec510..9e38c50 100755
--- a/taler-build/switch_bluegreen.sh
+++ b/taler-build/switch_bluegreen.sh
@@ -2,8 +2,9 @@
active=$(sudo -u test cat /home/test/active)
nonactive="test-blue"
+echo "Active party: ${active}"
-if test $active="test-blue"; then
+if test $active = "test-blue"; then
nonactive="test-green"
fi