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

ENV/std: fully extend from HOMEBREW_PATH. #3387

Merged
merged 1 commit into from Oct 30, 2017

Conversation

MikeMcQuaid
Copy link
Member

Rather than just re-adding HOMEBREW_PREFIX/bin if it's missing re-add everything from HOMEBREW_PATH. This works well with or without environment filtering being enabled but with environment filtering it ensures that ENV/std just builds on the original user environment.

Rather than just re-adding HOMEBREW_PREFIX/bin if it's missing re-add
everything from HOMEBREW_PATH. This works well with or without
environment filtering being enabled but with environment filtering it
ensures that ENV/std just builds on the original user environment.
# @private
def setup_build_environment(formula = nil)
super

PATH.new(ENV["HOMEBREW_PATH"]).each { |p| prepend_path "PATH", p }
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@reitermarkus Does this seem the best way to do this?

@MikeMcQuaid MikeMcQuaid merged commit 2d5bb02 into Homebrew:master Oct 30, 2017
@MikeMcQuaid MikeMcQuaid deleted the env-std-homebrew-paths branch October 30, 2017 16:09
@Homebrew Homebrew locked and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant