aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorJack Nagel2014-05-01 18:36:46 -0500
committerJack Nagel2014-05-01 18:36:46 -0500
commitaa5a5a526f4b847df2ad9d12dcd7569e526dff32 (patch)
treeff58d9ea44130c68397fb1f84a67d16db323c816 /Library/Homebrew/cmd
parent4b335eb2df8f64208ccf26da291c11691d7c6474 (diff)
downloadbrew-aa5a5a526f4b847df2ad9d12dcd7569e526dff32.tar.bz2
Rename Xcode.folder to MacOS.active_developer_dir
This reflects what Apple calls it in more recent versions of Xcode/OS X.
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 3471bf1ee..720cb4fe6 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -437,7 +437,7 @@ def check_xcode_prefix_exists
end
def check_xcode_select_path
- if not MacOS::CLT.installed? and not File.file? "#{MacOS::Xcode.folder}/usr/bin/xcodebuild"
+ if not MacOS::CLT.installed? and not File.file? "#{MacOS.active_developer_dir}/usr/bin/xcodebuild"
path = MacOS.app_with_bundle_id(MacOS::Xcode::V4_BUNDLE_ID, MacOS::Xcode::V3_BUNDLE_ID)
path = '/Developer' if path.nil? or not path.directory?
<<-EOS.undent