aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/deploy-azure.sh
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-11-16 12:39:44 +0000
committerGravatar Gareth Coles <[email protected]>2018-11-16 12:39:44 +0000
commit0444287263ef64f383c29f9b8407b075a889cd59 (patch)
tree917772bc2c891c7fc6bdb21e330ad9e3e6b2f3db /scripts/deploy-azure.sh
parentAzure: Did I ever say I hate bash? (diff)
Azure: Why does Bash have to be so awful?
Diffstat (limited to 'scripts/deploy-azure.sh')
-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 fe1aeb245..81037c217 100644
--- a/scripts/deploy-azure.sh
+++ b/scripts/deploy-azure.sh
@@ -3,7 +3,7 @@
if [[ ]]
# Build and deploy on master branch, only if not a pull request
-if [[ $BUILD_SOURCEBRANCHNAME == 'master' && -z "${SYSTEM_PULLREQUEST_PULLREQUESTID}" ]]; then
+if [[ ($BUILD_SOURCEBRANCHNAME == 'master') && (-z "${SYSTEM_PULLREQUEST_PULLREQUESTID}") ]]; then
changed_lines=$(git diff HEAD~1 HEAD docker/base.Dockerfile | wc -l)
if [ $changed_lines != '0' ]; then