diff options
Diffstat (limited to 'buildbot/config.sh')
-rwxr-xr-x | buildbot/config.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/buildbot/config.sh b/buildbot/config.sh index 0c42ebf..289ce1a 100755 --- a/buildbot/config.sh +++ b/buildbot/config.sh @@ -1,11 +1,9 @@ #!/bin/bash -source "${HOME}/activate" -ACTIVE_COLOR="$(cat /home/test/active)" - -if test "${TALER_ENV_COLOR}" = "${ACTIVE_COLOR}"; then +if test "$(whoami)" = "$(cat /home/test/active)"; then echo "I'm the active color, no need to compile and switch!" exit 0 fi +source "${HOME}/activate" taler-deployment-config-generate |