Skip to content

Commit

Permalink
(GH-908) Fix Double Chocolatey folder for $file
Browse files Browse the repository at this point in the history
For GH-813 (ae2e857), the double `chocolatey\chocolatey` folder was
removed from `$silentArgs` and `$additionalInstallArgs`, but `$file`
was missed. These changes were originally necessary due to changes in
GH-590 (a9519b5). Ensure that $file is also set properly so it no
longer uses a double chocolatey folder.
  • Loading branch information
ferventcoder committed Sep 2, 2016
1 parent 6e4590f commit 602fd0f
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -202,6 +202,7 @@ Pro / Business supports a single, ubiquitous install directory option.
# remove \chocolatey\chocolatey\
$silentArgs = $silentArgs -replace '\\chocolatey\\chocolatey\\', '\chocolatey\'
$additionalInstallArgs = $additionalInstallArgs -replace '\\chocolatey\\chocolatey\\', '\chocolatey\'
$file = $file -replace '\\chocolatey\\chocolatey\\', '\chocolatey\'

$workingDirectory = Get-Location
try {
Expand Down

0 comments on commit 602fd0f

Please sign in to comment.