bin/brew: use full path for xcode-select

Closes Homebrew/homebrew#48197.

Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
Xu Cheng 2016-01-18 19:06:46 +08:00
parent f51587ee74
commit 318ce388d7

View File

@ -96,7 +96,7 @@ export HOMEBREW_CELLAR
if [[ -n "$HOMEBREW_OSX" ]]
then
if [[ "$('xcode-select' --print-path)" = "/" ]]
if [[ "$('/usr/bin/xcode-select' --print-path)" = "/" ]]
then
odie <<EOS
Your xcode-select path is currently set to '/'.