diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2019-04-16 14:07:33 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2019-04-16 14:07:33 +0200 |
commit | dfd72dc111d7673e60005189cede047c9ff4baa6 (patch) | |
tree | 6084fb0ea45e42ee8c9c408ae48279246ecacfcc /buildbot/checks.sh | |
parent | a4464177326f7d372491d09cba649c8f6e3b5a70 (diff) | |
download | deployment-dfd72dc111d7673e60005189cede047c9ff4baa6.tar.gz deployment-dfd72dc111d7673e60005189cede047c9ff4baa6.tar.bz2 deployment-dfd72dc111d7673e60005189cede047c9ff4baa6.zip |
syntax
Diffstat (limited to 'buildbot/checks.sh')
-rwxr-xr-x | buildbot/checks.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildbot/checks.sh b/buildbot/checks.sh index 611ab0a..0a0b2b7 100755 --- a/buildbot/checks.sh +++ b/buildbot/checks.sh @@ -4,7 +4,7 @@ DEPLOYMENT="test" DOMAIN="wild.gv.taler.net" -if test "stable" = ${BRANCH}; then +if test "stable" = "${BRANCH}"; then DEPLOYMENT="demo" fi @@ -15,7 +15,7 @@ fi # receive the connections. nonactive="dummy" -if test ${DEPLOYMENT} = "test"; then +if test "${DEPLOYMENT}" = "test"; then active=$(sudo -u ${DEPLOYMENT} cat /home/${DEPLOYMENT}/active) nonactive="blue" |