Alter test for brew to prevent false positive.
`brew` reports 'no brew found in ...' to `stdout` (at least on Solaris) resulting in a false positive.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
if [ `which brew` ]; then
|
||||
if which brew >/dev/null 2>&1; then
|
||||
if [ -f `brew --prefix`/Library/Contributions/brew_bash_completion.sh ]; then
|
||||
. `brew --prefix`/Library/Contributions/brew_bash_completion.sh
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user