File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 4242[bool ]$useInstalledDotNetCli = if (Test-Path variable:useInstalledDotNetCli) { $useInstalledDotNetCli } else { $true }
4343
4444# Enable repos to use a particular version of the on-line dotnet-install scripts.
45- # default URL: https://dotnet.microsoft.com/download /dotnet/scripts/v1/dotnet-install.ps1
45+ # default URL: https://builds. dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.ps1
4646[string ]$dotnetInstallScriptVersion = if (Test-Path variable:dotnetInstallScriptVersion) { $dotnetInstallScriptVersion } else { ' v1' }
4747
4848# True to use global NuGet cache instead of restoring packages to repository-local directory.
@@ -262,7 +262,7 @@ function GetDotNetInstallScript([string] $dotnetRoot) {
262262 if (! (Test-Path $installScript )) {
263263 Create- Directory $dotnetRoot
264264 $ProgressPreference = ' SilentlyContinue' # Don't display the console progress UI - it's a huge perf hit
265- $uri = " https://dotnet.microsoft.com/download /dotnet/scripts/$dotnetInstallScriptVersion /dotnet-install.ps1"
265+ $uri = " https://builds. dotnet.microsoft.com/dotnet/scripts/$dotnetInstallScriptVersion /dotnet-install.ps1"
266266
267267 Retry({
268268 Write-Host " GET $uri "
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ warn_as_error=${warn_as_error:-true}
5454use_installed_dotnet_cli=${use_installed_dotnet_cli:- true}
5555
5656# Enable repos to use a particular version of the on-line dotnet-install scripts.
57- # default URL: https://dotnet.microsoft.com/download /dotnet/scripts/v1/dotnet-install.sh
57+ # default URL: https://builds. dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh
5858dotnetInstallScriptVersion=${dotnetInstallScriptVersion:- ' v1' }
5959
6060# True to use global NuGet cache instead of restoring packages to repository-local directory.
@@ -295,7 +295,7 @@ function with_retries {
295295function GetDotNetInstallScript {
296296 local root=$1
297297 local install_script=" $root /dotnet-install.sh"
298- local install_script_url=" https://dotnet.microsoft.com/download /dotnet/scripts/$dotnetInstallScriptVersion /dotnet-install.sh"
298+ local install_script_url=" https://builds. dotnet.microsoft.com/dotnet/scripts/$dotnetInstallScriptVersion /dotnet-install.sh"
299299
300300 if [[ ! -a " $install_script " ]]; then
301301 mkdir -p " $root "
You can’t perform that action at this time.
0 commit comments