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

active=$(sudo -u test cat /home/test/active)
nonactive="test-blue"
echo "Active party: ${active}"

if test $active = "test-blue"; then
  nonactive="test-green"
fi

sudo -u $nonactive bash -c 'source $HOME/activate; taler-deployment-build'