commit 918fbd377048a528b2891da52b90948bbe062322 parent cfdecc2bf9dd126f78ae88f0d2c68e620b7f5cdf Author: Marcello Stanisci <marcello.stanisci@inria.fr> Date: Mon, 6 Mar 2017 21:53:10 +0100 Simplifying conditional statements. Diffstat:
| M | taler-build/switch_bluegreen.sh | | | 8 | ++++---- |
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/taler-build/switch_bluegreen.sh b/taler-build/switch_bluegreen.sh @@ -1,11 +1,11 @@ #!/bin/bash +whoami + active=$(cat /home/test/active) -nonactive="" +nonactive="test-blue" -if test $active = "test-blue"; then - nonactive="test-green" -else +if test $active="test-blue"; then nonactive="test-green" fi