aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorXu Cheng2016-01-18 19:06:46 +0800
committerXu Cheng2016-01-20 13:55:07 +0800
commit318ce388d75bb87cf2ee9966bfc19f0346460998 (patch)
tree2ac10df172aa8fc19b2ce9e939f0e9c263aad6d3 /bin
parentf51587ee7474a6582d9a44ae54f2a7937b046125 (diff)
downloadbrew-318ce388d75bb87cf2ee9966bfc19f0346460998.tar.bz2
bin/brew: use full path for xcode-select
Closes Homebrew/homebrew#48197. Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/brew2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/brew b/bin/brew
index 4b65b0691..41016f5e5 100755
--- a/bin/brew
+++ b/bin/brew
@@ -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 '/'.