diff options
| author | Jack Nagel | 2014-05-02 16:50:25 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-02 16:50:25 -0500 |
| commit | b5365f80d017e31e47542eb05868d3ca443d4d23 (patch) | |
| tree | 459a5aac3f66315f43dfa776df1ad22402cc6d7f /Library | |
| parent | 208f963cf2ab593973200b185a107bbb305b25d0 (diff) | |
| download | homebrew-b5365f80d017e31e47542eb05868d3ca443d4d23.tar.bz2 | |
doctor: use Xcode.bundle_path
Diffstat (limited to 'Library')
| -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 e5b64a596..9c8ee5d92 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -440,7 +440,7 @@ end def check_xcode_select_path 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 = MacOS::Xcode.bundle_path path = '/Developer' if path.nil? or not path.directory? <<-EOS.undent Your Xcode is configured with an invalid path. |
