commit fe458ea80f27bfef787412a1471bf3dbb6ec2612 parent 18fc108ffc03b755c20fd4b3f0dc25f3101546ba Author: Marcello Stanisci <stanisci.m@gmail.com> Date: Tue, 16 Apr 2019 22:21:43 +0200 paths Diffstat:
| M | buildbot/switch.sh | | | 8 | +------- |
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/buildbot/switch.sh b/buildbot/switch.sh @@ -1,13 +1,7 @@ #!/bin/bash -set -e - NONACTIVE_COLOR="$(cat /home/test/nonactive)" - -## -# PWD is the weak part here, as it makes this script -# only useful if run under Buildbot.. -CMD="${PWD}/bin/taler-deployment-switch-${NONACTIVE_COLOR}" +CMD="${HOME}/deployment/bin/taler-deployment-switch-${NONACTIVE_COLOR}" echo "Switching to ${NONACTIVE_COLOR}." bash -c "${CMD}"