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
commit6d528e94bbde27a9f9a99ca46b9bedf6bdb3e8cd (patch)
treed3c6430dac4451295d86e569bf3d61fabc84d2b4 /Library/Homebrew/cmd
parenta18f853679fd7755b280f99bd8cbb86ef9e9ca54 (diff)
downloadhomebrew-6d528e94bbde27a9f9a99ca46b9bedf6bdb3e8cd.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