summaryrefslogtreecommitdiff
path: root/buildbot/restart.sh
blob: a57a2f36205157fd9eeb5b6b6a778224291a566d (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

source "${HOME}/activate"
ACTIVE_COLOR="$(cat /home/test/active)"

if test "${TALER_ENV_COLOR}" = "${ACTIVE_COLOR}"; then
  echo "I'm the active color, no need to compile and switch!"
  exit 0
fi

taler-deployment-restart