summaryrefslogtreecommitdiff
path: root/buildbot/switch.sh
blob: 5279de787adce0ac2c0a26b281c82587b1e37c03 (plain)
1
2
3
4
5
6
7
#!/bin/bash

NONACTIVE_COLOR="$(cat /home/test/nonactive)"
CMD="${HOME}/deployment/bin/taler-deployment-switch-${NONACTIVE_COLOR}"

echo "Switching to ${NONACTIVE_COLOR}."
bash -c "${CMD}"