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

Fix #34: brew: no such file or directory #35

Merged
merged 1 commit into from
Dec 19, 2023
Merged

Conversation

danepowell
Copy link
Contributor

@danepowell danepowell commented Dec 18, 2023

This fixes #34, though I can't say I fully understand why it's necessary. I would expect any global variable (including PATH) to be inherited by shells, and even without this which brew correctly returns /opt/homebrew/bin. It just can't run the command for whatever reason.

But I'm not sure I have time to debug this any further, and this seems like a better solution than prefixing every command with $(BIN).

Shamelessly stolen from https://stackoverflow.com/questions/8941110/how-i-could-add-dir-to-path-in-makefile

@webpro webpro merged commit 01f9e31 into webpro:main Dec 19, 2023
@webpro
Copy link
Owner

webpro commented Dec 19, 2023

Thanks @danepowell!

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.

brew: no such file or directory
2 participants