From 74839417ea8bf7ebfabe217025307b07fc5fa393 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 12 Jul 2012 03:10:57 -0500 Subject: Rename xctools_fucked? Signed-off-by: Jack Nagel --- Library/Homebrew/cmd/doctor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/cmd') 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 -- cgit v1.2.3