aboutsummaryrefslogtreecommitdiffstats
path: root/Library/brew.rb
diff options
context:
space:
mode:
authorJack Nagel2014-04-15 11:28:52 -0500
committerJack Nagel2014-04-15 11:28:52 -0500
commit3895241da989c9e0f0230ed1c1b5d07d9fb99126 (patch)
treeaec9277422548e9862f6d8cbc86ae478f30da4dc /Library/brew.rb
parentf4f04cc2ec981fdf257d177bd42f8dfcfab158d6 (diff)
downloadhomebrew-3895241da989c9e0f0230ed1c1b5d07d9fb99126.tar.bz2
Xcode.bad_xcode_select_path? is used only once, so inline it
Diffstat (limited to 'Library/brew.rb')
-rwxr-xr-xLibrary/brew.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/brew.rb b/Library/brew.rb
index 5b2bc1ccf..a27497912 100755
--- a/Library/brew.rb
+++ b/Library/brew.rb
@@ -34,7 +34,7 @@ end
# Check for bad xcode-select before anything else, because `doctor` and
# many other things will hang
# Note that this bug was fixed in 10.9
-if OS.mac? && MacOS.version < :mavericks && MacOS::Xcode.bad_xcode_select_path?
+if OS.mac? && MacOS.version < :mavericks && MacOS::Xcode.folder == "/"
odie <<-EOS.undent
Your xcode-select path is currently set to '/'.
This causes the `xcrun` tool to hang, and can render Homebrew unusable.