mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-06 00:31:20 +00:00
azure-cli: Fix AzureCLIPath environment variable (#2717)
The 2 AzureCLIPath environment variables introduced in https://github.com/ScoopInstaller/Main/pull/1469 are not set to the actual az cli path. Since az is installed in the \wbin sub folder, as seen in the bin property.
This for example resulted in tools using the go-autorest library not working when the az cli is installed using scoop.
c7f947c061/autorest/azure/cli/token.go (L128)
This commit is contained in:
parent
9044c3141b
commit
bf5ca8d171
@ -15,7 +15,7 @@
|
||||
"url": "https://azurecliprod.azureedge.net/msi/azure-cli-$version.msi"
|
||||
},
|
||||
"env_set": {
|
||||
"AzureCLIPath": "$dir",
|
||||
"AZURE_CLI_PATH": "$dir"
|
||||
"AzureCLIPath": "$dir\\wbin",
|
||||
"AZURE_CLI_PATH": "$dir\\wbin"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user