Fix a couple build issues on OSX/non-Windows
We were downloading the wrong 'latest version' of the CLI, and targets passed into --targets were not split correctly
This commit is contained in:
parent
ffedcb315f
commit
f36029d135
2 changed files with 2 additions and 2 deletions
|
@ -189,7 +189,7 @@ install_dotnet()
|
|||
local localVersion=$(tail -n 1 "$installLocation/cli/.version" 2>/dev/null)
|
||||
if [ "$VERSION" == "Latest" ]; then
|
||||
# Check if we need to bother
|
||||
local remoteData="$(curl -s https://dotnetcli.blob.core.windows.net/dotnet/$CHANNEL/dnvm/latest.$os.version)"
|
||||
local remoteData="$(curl -s https://dotnetcli.blob.core.windows.net/dotnet/$CHANNEL/dnvm/latest.$os.x64.version)"
|
||||
[ $? != 0 ] && say_err "Unable to determine latest version." && return 1
|
||||
|
||||
local remoteVersion=$(IFS="\n" && echo $remoteData | tail -n 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue