commit 43b60ee83d5b36c8aebf8fdcf0d4719d62762c47
parent 37ea3f3cffcae5762506f17b571b59762a03219f
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date: Mon, 6 Mar 2017 23:02:46 +0100
Use spaces around = in bash's 'test' command.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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