diff options
| author | Jack Nagel | 2014-05-01 18:36:46 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-01 18:36:46 -0500 |
| commit | 78ed677ba2dab74dec7983c56b6f77f96c8da182 (patch) | |
| tree | 93d9c1f07b98e0c0b2995669190ad8a2c4d1105d /Library/Homebrew/cmd/doctor.rb | |
| parent | 94bc0b8b76197c581af28294149faa987e4e322d (diff) | |
| download | homebrew-78ed677ba2dab74dec7983c56b6f77f96c8da182.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/doctor.rb')
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 2 |
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 |
