diff options
Diffstat (limited to 'buildbot/sign.sh')
-rwxr-xr-x | buildbot/sign.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/buildbot/sign.sh b/buildbot/sign.sh index 456db77..4b31229 100755 --- a/buildbot/sign.sh +++ b/buildbot/sign.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-sign |