summaryrefslogtreecommitdiff
path: root/triggers
diff options
context:
space:
mode:
authorWill Holland <william.holland@codethink.co.uk>2015-09-17 14:58:08 +0100
committerWill Holland <william.holland@codethink.co.uk>2015-09-17 14:58:08 +0100
commitc4a70cd86737666fa2cf3801d6f36b9518989f14 (patch)
tree9efce94749ef3ac25f0374df5cf1d96eb2b17d94 /triggers
parent41390e09c6a161458b9bf2f52304516e4c9edc3e (diff)
downloadbuildslave-scripts-c4a70cd86737666fa2cf3801d6f36b9518989f14.tar.gz
Fix PATH
Diffstat (limited to 'triggers')
-rw-r--r--triggers/firehose_trigger.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/triggers/firehose_trigger.sh b/triggers/firehose_trigger.sh
index 55b0d6c..9469cc0 100644
--- a/triggers/firehose_trigger.sh
+++ b/triggers/firehose_trigger.sh
@@ -30,5 +30,8 @@ install -D -m644 /dev/stdin ~/.morph.conf <<'EOF'
trove-id = cu010-trove
trove-host = cu010-trove.codethink.com
EOF
-# call firehose
+SLAVEBIN=$(pwd)/bin
+if [ ":$PATH:" != *":$SLAVEBIN:"* ]; then
+ PATH=$PATH:$SLAVEBIN
+fi
python firehose_call.py "$1"