summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2015-09-21 15:15:48 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2015-09-21 15:22:22 +0000
commitd32a6503d50ad93636b783de66769d814c2c05dd (patch)
treee4ab6fdcfb71edcdfa810d21e2b5fdaffa6bda83
parent0ebbccfc7f7f2ecc54b73c2a25544bf1cdaaba36 (diff)
downloadbuildslave-scripts-d32a6503d50ad93636b783de66769d814c2c05dd.tar.gz
Quote things in 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"