aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorJack Nagel2012-07-12 03:10:57 -0500
committerJack Nagel2012-07-25 12:04:42 -0500
commit74839417ea8bf7ebfabe217025307b07fc5fa393 (patch)
tree1d90132e5c28b6efc7efafd318a34d997c4f156c /Library/Homebrew/cmd
parenta772fb97ab9b25bbecf78192c01e6252dfdb89cc (diff)
downloadbrew-74839417ea8bf7ebfabe217025307b07fc5fa393.tar.bz2
Rename xctools_fucked?
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/doctor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 6e64843a8..25c5ec7d2 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -402,7 +402,7 @@ end
def check_xcode_select_path
# with the advent of CLT-only support, we don't need xcode-select
return if MacOS::CLT.installed?
- unless File.file? "#{MacOS::Xcode.folder}/usr/bin/xcodebuild" and not MacOS::Xcode.xctools_fucked?
+ unless File.file? "#{MacOS::Xcode.folder}/usr/bin/xcodebuild" and not MacOS::Xcode.bad_xcode_select_path?
path = MacOS.app_with_bundle_id(MacOS::Xcode::V4_BUNDLE_ID) || MacOS.app_with_bundle_id(MacOS::Xcode::V3_BUNDLE_ID)
path = '/Developer' if path.nil? or not path.directory?
<<-EOS.undent