Skip to content

Commit

Permalink
Merge branch 'stable'
Browse files Browse the repository at this point in the history
* stable:
  (GH-439) update environment before setting custom
  • Loading branch information
ferventcoder committed Jun 12, 2016
2 parents 2ab2146 + ebca582 commit e1b999e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,8 @@ public void prepare_powershell_environment(IPackage package, ChocolateyConfigura
{
if (package == null) return;

EnvironmentSettings.set_environment_variables(configuration);
EnvironmentSettings.update_environment_variables();
EnvironmentSettings.set_environment_variables(configuration);

Environment.SetEnvironmentVariable("chocolateyPackageName", package.Id);
Environment.SetEnvironmentVariable("packageName", package.Id);
Expand Down

0 comments on commit e1b999e

Please sign in to comment.