-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Closed
Labels
Description
Describe the issue with documentation
When running ./breeze after installing brew install gnu-getopt coreutils, it still complains
ERROR: You are running breeze in OSX environment and you need to install gnu commands
Run 'brew install gnu-getopt coreutils'
The root cause is with Apple Silicon, the Homebrew prefix is changed to /opt/homebrew
I can find getopt under /opt/homebrew
❯ l /opt/homebrew/opt/gnu-getopt/bin
total 112
drwxr-xr-x 3 ping_zhang admin 96B Aug 16 06:27 .
drwxr-xr-x 12 ping_zhang admin 384B Dec 16 10:46 ..
-r-xr-xr-x 1 ping_zhang admin 54K Aug 16 06:27 getopt
How to solve the problem
I think we need to use $(brew --prefix) to get the homebrew prefix
Anything else
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct