Removes usage of DOTNET_HOME in CLI repo.
DOTNET_HOME is no longer required, though it is a documented override, so this change removes all unnecessary references to DOTNET_HOME from the CLI Repo.
This commit is contained in:
parent
f81ba05a7c
commit
e625cbcf7a
13 changed files with 7 additions and 64 deletions
|
@ -36,7 +36,7 @@ function setVarIfDefault([string]$varName, [string]$value)
|
|||
|
||||
function setPathAndHomeIfDefault([string]$rootPath)
|
||||
{
|
||||
If ($env:DOTNET_HOME -eq $null)
|
||||
If ($env:DOTNET_ON_PATH -eq $null)
|
||||
{
|
||||
setPathAndHome $rootPath
|
||||
}
|
||||
|
@ -44,7 +44,7 @@ function setPathAndHomeIfDefault([string]$rootPath)
|
|||
|
||||
function setPathAndHome([string]$rootPath)
|
||||
{
|
||||
$env:DOTNET_HOME=$rootPath
|
||||
$env:DOTNET_ON_PATH=$rootPath
|
||||
$env:PATH="$rootPath\bin;$env:PATH"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue