Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(GH-303) (Cont.) https://github.com/chocolatey/choco/pull/373/ #600

Closed
wants to merge 4 commits into from
Closed

(GH-303) (Cont.) https://github.com/chocolatey/choco/pull/373/ #600

wants to merge 4 commits into from

Conversation

tirolo
Copy link
Contributor

@tirolo tirolo commented Feb 1, 2016

Fixes #303

Please refer to comments on #373

To help us finish the work here and also enable us to work on tickets depending on these changes, I've done all the changes as requested on the PR comments above.

I should have committed more often but I was kind of struggling with git yet 😛
If you guys have any questions please just ask.

mnadel and others added 4 commits July 30, 2015 22:01
Preexisting Variables

When adding a new element to PATH, Install-ChocolateyPath reads PATH
(wh ich contains expanded variables), appends the new element, and then
writes the value back to PATH. This results in PATH having its
variables overwritten with its values. Instead of reading $env:PATH to
find the current path, read it from the registry, which will retain the
PATH's original variables.
@tirolo
Copy link
Contributor Author

tirolo commented Feb 3, 2016

Do you guys see any required changes on Update-SessionEnvironment (https://github.com/tirolo/choco/blob/ticket/stable/GH-303-install-path-retain-vars/src/chocolatey.resources/helpers/functions/Update-SessionEnvironment.ps1)?

Am I missing other references to the Get-EnvironmentVariable function?

@ferventcoder
Copy link
Member

Merged into stable at 4484e24

@tirolo tirolo deleted the ticket/stable/GH-303-install-path-retain-vars branch April 21, 2016 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants