From 550e491517f6d6bf8757cfb5a381537b4e391dbd Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Fri, 16 Nov 2018 13:13:57 +0000 Subject: Azure: Let's bash Bash --- scripts/deploy-azure.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/deploy-azure.sh') diff --git a/scripts/deploy-azure.sh b/scripts/deploy-azure.sh index 157d77e7f..187aeda00 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 -- cgit v1.2.3