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.pull/23/head
parent
e7cfe6d1df
commit
7ce4184c93
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue