Skip to content

Commit 297b5bd

Browse files
michaelsakidav3r
andauthored
Add $(brew --prefix) to PATH for getopt
Co-authored-by: dav3r <[email protected]>
1 parent 1240bdd commit 297b5bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ adding this to your profile:
6868

6969
```bash
7070
export PYENV_ROOT="$HOME/.pyenv"
71-
export PATH="$PYENV_ROOT/bin:/usr/local/opt/gnu-getopt/bin:$PATH"
71+
export PATH="$PYENV_ROOT/bin:$(brew --prefix)/opt/gnu-getopt/bin:$PATH"
7272
eval "$(pyenv init --path)"
7373
eval "$(pyenv init -)"
7474
eval "$(pyenv virtualenv-init -)"

setup-env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ if [[ $(getopt --version 2> /dev/null) != *"getopt from util-linux"* ]]; then
6363
is as simple as `brew install gnu-getopt` and adding this to your
6464
profile:
6565
66-
export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"
66+
export PATH="$(brew --prefix)/opt/gnu-getopt/bin:$PATH"
6767
6868
END_OF_LINE
6969
exit 1

0 commit comments

Comments
 (0)