From 7a2c4871fc0deb37ce9db7fd7bc827bb3ccc44ad Mon Sep 17 00:00:00 2001 From: Maksim Petrov Date: Sun, 28 Jun 2020 21:08:18 +0300 Subject: [PATCH] Small fix in syntax --- images/linux/scripts/installers/azpowershell.sh | 2 +- images/linux/toolset-1604.json | 2 +- images/linux/toolset-1804.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/images/linux/scripts/installers/azpowershell.sh b/images/linux/scripts/installers/azpowershell.sh index 6cd4e2211..082ab185d 100644 --- a/images/linux/scripts/installers/azpowershell.sh +++ b/images/linux/scripts/installers/azpowershell.sh @@ -13,7 +13,7 @@ if isUbuntu20 ; then versions=$(pwsh -Command '(Find-Module -Name Az).Version') else toolsetJson="$INSTALLER_SCRIPT_FOLDER/toolset.json" - versions=$(cat $toolsetJson | jq -r '.azureModules[] | select(.name | contains("Az")) | .versions[]') + versions=$(cat $toolsetJson | jq -r '.azureModules[] | select(.name | contains("az")) | .versions[]') fi # Install Azure CLI (instructions taken from https://docs.microsoft.com/en-us/cli/azure/install-azure-cli) diff --git a/images/linux/toolset-1604.json b/images/linux/toolset-1604.json index 61092f794..c7d127531 100644 --- a/images/linux/toolset-1604.json +++ b/images/linux/toolset-1604.json @@ -62,7 +62,7 @@ ], "azureModules": [ { - "name": "Az", + "name": "az", "versions": [ "1.0.0", "1.6.0", diff --git a/images/linux/toolset-1804.json b/images/linux/toolset-1804.json index 02bf093e3..8f6d5cc1e 100644 --- a/images/linux/toolset-1804.json +++ b/images/linux/toolset-1804.json @@ -62,7 +62,7 @@ ], "azureModules": [ { - "name": "Az", + "name": "az", "versions": [ "1.0.0", "1.6.0",