Skip to content

Commit

Permalink
(GH-1772) Fix: choco remembers Forcex86
Browse files Browse the repository at this point in the history
Ensure that Force X86 is reset each time a package is called.
  • Loading branch information
ferventcoder committed Apr 1, 2019
1 parent 1675a19 commit 3e89841
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,7 @@ public void prepare_powershell_environment(IPackage package, ChocolateyConfigura
Environment.SetEnvironmentVariable("chocolateyChecksum64", null);
Environment.SetEnvironmentVariable("chocolateyChecksumType32", null);
Environment.SetEnvironmentVariable("chocolateyChecksumType64", null);
Environment.SetEnvironmentVariable("chocolateyForceX86", null);

// we only want to pass the following args to packages that would apply.
// like choco install git --params '' should pass those params to git.install,
Expand Down

0 comments on commit 3e89841

Please sign in to comment.