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:
Piotr Puszkiewicz 2016-02-18 13:05:12 -08:00
parent f81ba05a7c
commit e625cbcf7a
13 changed files with 7 additions and 64 deletions

View file

@ -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"
}