summaryrefslogtreecommitdiff
path: root/buildbot/restart.sh
blob: 5a43dd54777c061521c57f390b9affe251cef180 (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'