You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 19, 2019. It is now read-only.
As discussed in #421 , the return value of Get-BinRoot and %ChocolateBinRoot% has changed to "C:\tools", but Get-BinRoot still return "C:" if %ChocolateBinRoot% set to "C:".
# Clean up wrongfully set C:\if ($env:ChocolateyBinRoot-eq$env:systemdrive) {
# Read but untested: Setting a variable = an empty string will remove it completely.$env:ChocolateyBinRoot=''
}
However, at least my environment (Japanese Win 8.1), $env:systemdrive returns "C:", not "C:", so it doesn't enter inside above if statement. So it should be like following,
if ((join-path$env:ChocolateyBinRoot"") -eq (join-path$env:systemdrive"")) {
}
The text was updated successfully, but these errors were encountered:
As discussed in #421 , the return value of Get-BinRoot and %ChocolateBinRoot% has changed to "C:\tools", but Get-BinRoot still return "C:" if %ChocolateBinRoot% set to "C:".
in cd11749 following code had added,
However, at least my environment (Japanese Win 8.1), $env:systemdrive returns "C:", not "C:", so it doesn't enter inside above if statement. So it should be like following,
The text was updated successfully, but these errors were encountered: