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 42
42
[bool ]$useInstalledDotNetCli = if (Test-Path variable:useInstalledDotNetCli) { $useInstalledDotNetCli } else { $true }
43
43
44
44
# 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
46
46
[string ]$dotnetInstallScriptVersion = if (Test-Path variable:dotnetInstallScriptVersion) { $dotnetInstallScriptVersion } else { ' v1' }
47
47
48
48
# True to use global NuGet cache instead of restoring packages to repository-local directory.
@@ -262,7 +262,7 @@ function GetDotNetInstallScript([string] $dotnetRoot) {
262
262
if (! (Test-Path $installScript )) {
263
263
Create- Directory $dotnetRoot
264
264
$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"
266
266
267
267
Retry({
268
268
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}
54
54
use_installed_dotnet_cli=${use_installed_dotnet_cli:- true}
55
55
56
56
# 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
58
58
dotnetInstallScriptVersion=${dotnetInstallScriptVersion:- ' v1' }
59
59
60
60
# True to use global NuGet cache instead of restoring packages to repository-local directory.
@@ -295,7 +295,7 @@ function with_retries {
295
295
function GetDotNetInstallScript {
296
296
local root=$1
297
297
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"
299
299
300
300
if [[ ! -a " $install_script " ]]; then
301
301
mkdir -p " $root "
You can’t perform that action at this time.
0 commit comments