aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-11-16 12:01:34 +0000
committerGravatar Gareth Coles <[email protected]>2018-11-16 12:01:34 +0000
commit50ca98c9e854e2841ca18d18b8b41c47db117687 (patch)
treec778e7f0cae66a495fdc5a293bd52ea0fe296e8c /scripts
parentAzure: Attempt to fix differing build script syntax (diff)
Azure: I hate bash.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/deploy-azure.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/deploy-azure.sh b/scripts/deploy-azure.sh
index 378cceaf6..4df5cb0fc 100644
--- a/scripts/deploy-azure.sh
+++ b/scripts/deploy-azure.sh
@@ -1,7 +1,7 @@
#!/bin/bash
# Build and deploy on master branch
-if [ $BUILD_SOURCEBRANCHNAME == 'master' ]; then
+if [[ $BUILD_SOURCEBRANCHNAME == 'master' ]]; then
changed_lines=$(git diff HEAD~1 HEAD docker/base.Dockerfile | wc -l)
if [ $changed_lines != '0' ]; then