Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>2022-05-30 15:38:56 +0300
committerGitHub <noreply@github.com>2022-05-30 15:38:56 +0300
commite9b4688a35569d6865a67e40a8837fd044f1a23a (patch)
treefbf25b65a486c0c3d3c44ca1551c1ac3acd16451 /eng/common/tools.ps1
parent848d9ae9f65cc6686d28fca7f3fd5d13f62c8111 (diff)
Update dependencies from https://github.com/dotnet/arcade build 20220526.1 (#2811)
[main] Update dependencies from dotnet/arcade
Diffstat (limited to 'eng/common/tools.ps1')
-rw-r--r--eng/common/tools.ps14
1 files changed, 4 insertions, 0 deletions
diff --git a/eng/common/tools.ps1 b/eng/common/tools.ps1
index 797f05292..423bd962e 100644
--- a/eng/common/tools.ps1
+++ b/eng/common/tools.ps1
@@ -635,6 +635,10 @@ function InitializeNativeTools() {
InstallDirectory = "$ToolsDir"
}
}
+ if (Test-Path variable:NativeToolsOnMachine) {
+ Write-Host "Variable NativeToolsOnMachine detected, enabling native tool path promotion..."
+ $nativeArgs += @{ PathPromotion = $true }
+ }
& "$PSScriptRoot/init-tools-native.ps1" @nativeArgs
}
}