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

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-restart