-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Use patch found in the PATH #3457
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
Conversation
|
I'd rather we avoid any more of these until environment filtering is on by default. I think then we can just remove the hardcoded |
That would be awesome. |
|
Before I read your comment, I came up with a better solution using |
6e456dc to
3c5e192
Compare
I think this kinda changes the meaning of |
Library/Homebrew/patch.rb
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's try just changing this to patch below and not use a variable (i.e. remove the /usr/bin). If it goes 💥
I'll revert it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I got rid of the cmd variable. Did you mean also get rid of with_system_path?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sjackman Yep; make this just remove /usr/bin/ and the variable usage.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. I also replaced IO.popen with Utils.popen_write.
You may not find the desired utility in |
|
Thanks again @sjackman! |
|
No worries. Thanks for merging, Mike. |
|
Fantastic! |
brew testswith your changes locally?