Temporarely pin dotnet obtain script url

This commit is contained in:
Sergei Vorobev 2016-11-14 10:30:32 -08:00 committed by Sergei Vorobev
parent 8bc8930959
commit f5ca586118

View File

@ -859,7 +859,9 @@ function Install-Dotnet {
# Note that when it is null, Invoke-Expression (but not &) must be used to interpolate properly # Note that when it is null, Invoke-Expression (but not &) must be used to interpolate properly
$sudo = if (!$NoSudo) { "sudo" } $sudo = if (!$NoSudo) { "sudo" }
$obtainUrl = "https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain" # this url is temporarely alternated because of https://github.com/dotnet/cli/issues/4715
# it should be reverted back to "https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain" ASAP
$obtainUrl = "https://raw.githubusercontent.com/dotnet/cli/9855dc0088cf7e56e24860c734f33fe8353f38a6/scripts/obtain"
# Install for Linux and OS X # Install for Linux and OS X
if ($IsLinux -or $IsOSX) { if ($IsLinux -or $IsOSX) {