From 3ccbb6ca91f3e2f1c97b245e1fc362cf76485fe6 Mon Sep 17 00:00:00 2001 From: Eugene Chuvyrov Date: Tue, 8 Nov 2016 00:05:20 -0800 Subject: [PATCH] Changed Service Principal Creation sequence to comply with newer CLI reqs --- contrib/azure-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/azure-setup.sh b/contrib/azure-setup.sh index a766ad9b4..287edfd3e 100755 --- a/contrib/azure-setup.sh +++ b/contrib/azure-setup.sh @@ -161,7 +161,7 @@ createServicePrincipal() { # prior version accepted appId as the only parameter without a switch newer_syntax = false IFS='.' read -ra azureversionsemver <<< "$azureversion" - if [[ ${azureversionsemver[0]} -ge 0 && ${azureversionsemver[1]} -ge 10 && ${azureversionsemver[2]} -ge 2]]; then + if [ ${azureversionsemver[0]} -ge 0 ] && [ ${azureversionsemver[1]} -ge 10 ] && [ ${azureversionsemver[2]} -ge 2 ]; then newer_syntax = true fi