From 50ca98c9e854e2841ca18d18b8b41c47db117687 Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Fri, 16 Nov 2018 12:01:34 +0000 Subject: Azure: I hate 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 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 -- cgit v1.2.3