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:
parent
f51587ee74
commit
318ce388d7
2
bin/brew
2
bin/brew
@ -96,7 +96,7 @@ export HOMEBREW_CELLAR
|
|||||||
|
|
||||||
if [[ -n "$HOMEBREW_OSX" ]]
|
if [[ -n "$HOMEBREW_OSX" ]]
|
||||||
then
|
then
|
||||||
if [[ "$('xcode-select' --print-path)" = "/" ]]
|
if [[ "$('/usr/bin/xcode-select' --print-path)" = "/" ]]
|
||||||
then
|
then
|
||||||
odie <<EOS
|
odie <<EOS
|
||||||
Your xcode-select path is currently set to '/'.
|
Your xcode-select path is currently set to '/'.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user