aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-11-16 11:56:56 +0000
committerGravatar Gareth Coles <[email protected]>2018-11-16 11:56:56 +0000
commited14faee08f82b6569517fae6e33c43abda47eed (patch)
treea318157fa5cd9e373022e9f0fa6bb3abda75d3e1 /scripts
parentAzure: Build job should depend on test (diff)
Azure: Attempt to fix differing build script syntax
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 4df5cb0fc..378cceaf6 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