fix: Erlang16 minor path problem

This commit is contained in:
Iristyle
2013-09-16 10:38:46 -04:00
parent 131c5d3681
commit 7bbc8633e5

View File

@@ -29,7 +29,7 @@ try {
Install-ChocolateyPackage @params Install-ChocolateyPackage @params
} }
$binPath = (Join-Path "${Env:\ProgramFiles(x86)}" $installFolder), $binPath = (Join-Path "${Env:\ProgramFiles(x86)}" "$installFolder\bin"),
(Join-Path $Env:ProgramFiles "$installFolder\bin") | (Join-Path $Env:ProgramFiles "$installFolder\bin") |
? { Test-Path $_ } | ? { Test-Path $_ } |
Select -First 1 Select -First 1