aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-11-16 13:20:45 +0000
committerGravatar Gareth Coles <[email protected]>2018-11-16 13:20:45 +0000
commita8a76263de738726eced0cee2e43ef212a5f5ba7 (patch)
treeba0a927ddd65de808e9d7700c2a2124f8ec6e32e /scripts
parentAzure: Let's bash Bash (diff)
Azure: Where'd this extra line come from?
Diffstat (limited to 'scripts')
-rw-r--r--scripts/deploy-azure.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/deploy-azure.sh b/scripts/deploy-azure.sh
index 187aeda00..9f64b52a2 100644
--- a/scripts/deploy-azure.sh
+++ b/scripts/deploy-azure.sh
@@ -1,9 +1,7 @@
#!/bin/bash
-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