summaryrefslogtreecommitdiff
path: root/triggers
diff options
context:
space:
mode:
authorWill Holland <william.holland@codethink.co.uk>2015-09-17 15:01:19 +0100
committerWill Holland <william.holland@codethink.co.uk>2015-09-17 15:01:19 +0100
commit7ec3179e8fcde4033139616d5ecdf071e7df1b65 (patch)
tree3b3d419e6d2d1a0192bc59b7023d98a2f5588518 /triggers
parentc4a70cd86737666fa2cf3801d6f36b9518989f14 (diff)
downloadbuildslave-scripts-7ec3179e8fcde4033139616d5ecdf071e7df1b65.tar.gz
Remove test from PATH
Diffstat (limited to 'triggers')
-rw-r--r--triggers/firehose_trigger.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/triggers/firehose_trigger.sh b/triggers/firehose_trigger.sh
index 9469cc0..8079c65 100644
--- a/triggers/firehose_trigger.sh
+++ b/triggers/firehose_trigger.sh
@@ -31,7 +31,5 @@ trove-id = cu010-trove
trove-host = cu010-trove.codethink.com
EOF
SLAVEBIN=$(pwd)/bin
-if [ ":$PATH:" != *":$SLAVEBIN:"* ]; then
- PATH=$PATH:$SLAVEBIN
-fi
+PATH=$PATH:$SLAVEBIN
python firehose_call.py "$1"