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

Moving binary file to something other than /usr/local/ #22679

Closed
blogabe opened this issue Jul 9, 2016 · 1 comment
Closed

Moving binary file to something other than /usr/local/ #22679

blogabe opened this issue Jul 9, 2016 · 1 comment

Comments

@blogabe
Copy link
Contributor

blogabe commented Jul 9, 2016

Don't know if #21372 will address my question, but is there a way to change the behavior of where a binary file, when included in an app bundle, gets copied?

My specific example is textmate. This line binary "#{appdir}/TextMate.app/Contents/Resources/mate" copies the mate binary, by default, into /usr/local/bin. But if I have homebrew installed under my home folder, then I'd prefer to have the mate binary get copied to ~/.homebrew/bin for example.

Is there an environmental or command line option that I've missed?

I think the binaries for cases like this should by default be installed to $(brew --prefix)/bin

@vitorgalvao
Copy link
Member

Is there an environmental or command line option that I've missed?

Yes, binarydir.

I think the binaries for cases like this should by default be installed to $(brew --prefix)/bin

#21372. That’s in the first page of issues, even. Please search before opening new issues.

@Homebrew Homebrew locked and limited conversation to collaborators May 8, 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

No branches or pull requests

2 participants