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