[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-deployment] branch master updated: Simplifying condi
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-deployment] branch master updated: Simplifying conditional statements. |
Date: |
Mon, 06 Mar 2017 21:54:23 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository deployment.
The following commit(s) were added to refs/heads/master by this push:
new 918fbd3 Simplifying conditional statements.
918fbd3 is described below
commit 918fbd377048a528b2891da52b90948bbe062322
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon Mar 6 21:53:10 2017 +0100
Simplifying conditional statements.
---
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
index 7738bb6..19481ba 100755
--- 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
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-deployment] branch master updated: Simplifying conditional statements.,
gnunet <=