summaryrefslogtreecommitdiff
path: root/triggers/firehose_trigger.sh
diff options
context:
space:
mode:
Diffstat (limited to 'triggers/firehose_trigger.sh')
-rw-r--r--triggers/firehose_trigger.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/triggers/firehose_trigger.sh b/triggers/firehose_trigger.sh
index e10a3c3..5ef6c0a 100644
--- a/triggers/firehose_trigger.sh
+++ b/triggers/firehose_trigger.sh
@@ -1,6 +1,6 @@
set -ex
-REPO=$1
-REF=$2
+REPO="$1"
+REF="$2"
echo "[$(date "+%F %R")] Firehose triggered with repo: $1" >> ../../../../trigger_log
if [ -d src/firehose ]; then
rm -rf src/firehose
@@ -36,6 +36,6 @@ install -D -m644 /dev/stdin ~/.morph.conf <<'EOF'
trove-id = cu010-trove
trove-host = cu010-trove.codethink.com
EOF
-SLAVEBIN=$(pwd)/bin
-PATH=$PATH:$SLAVEBIN
+SLAVEBIN="$(pwd)/bin"
+PATH="$PATH:$SLAVEBIN"
python firehose_call.py "$1"