commit a4017d35912015487a44190dd7a57110fa9177e6 parent 2d20619b85450185d4f13cc90ddb41465329c4e1 Author: Marcello Stanisci <stanisci.m@gmail.com> Date: Tue, 16 Apr 2019 11:48:50 +0200 syntax Diffstat:
| M | buildbot/config.sh | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/buildbot/config.sh b/buildbot/config.sh @@ -10,7 +10,7 @@ active=$(sudo -u ${DEPLOYMENT} cat /home/${DEPLOYMENT}/active) nonactive="${DEPLOYMENT}-blue" echo "Active party: ${active}" -if test $active = "${DEPLOYMENT}-blue"; then +if test "$active" = "${DEPLOYMENT}-blue"; then nonactive="${DEPLOYMENT}-green" fi