brew --prefix <formula>, but for libexec #568
Unanswered
asbjornu
asked this question in
Everyday usage
Replies: 2 comments
-
Why not |
Beta Was this translation helpful? Give feedback.
0 replies
-
That seems to work great, thanks @SMillerDev! I submitted Homebrew/homebrew-core#69323 using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to add a
caveat
to thedotnet
formula to inform users how to set theDOTNET_ROOT
variable to the installation path of the formula. Instead of just printing the static path of#{libexec}
to the terminal, which would require a change to theexport DOTNET_ROOT
statement on every upgrade of the formula, I would prefer the instructions to be something like this:Now
--libexec
is not a valid argument to thebrew
command, but it would be nice if it was.brew info
does return the path tolibexec
, but not in isolation so it would require performingsed
or similar on the output to dig out just the path tolibexec
.How do I best accomplish this with Homebrew? Is there a best practice for this?
Beta Was this translation helpful? Give feedback.
All reactions