aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/doctor.rb
diff options
context:
space:
mode:
authorJack Nagel2014-04-01 20:47:26 -0500
committerJack Nagel2014-04-01 20:47:26 -0500
commit1fa5da56ac19fd0a58bb024d49443e114288c4b8 (patch)
tree0b2a43ccf0113c734a7bb9403c2bbf0f6badf468 /Library/Homebrew/cmd/doctor.rb
parentf517682409f8d0ab641971530dc8fb2e726e419b (diff)
downloadhomebrew-1fa5da56ac19fd0a58bb024d49443e114288c4b8.tar.bz2
Batch up mdfind calls when possible
Diffstat (limited to 'Library/Homebrew/cmd/doctor.rb')
-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 25ac8bbe4..84ab5c113 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -438,7 +438,7 @@ end
def check_xcode_select_path
if not MacOS::CLT.installed? and not File.file? "#{MacOS::Xcode.folder}/usr/bin/xcodebuild"
- path = MacOS.app_with_bundle_id(MacOS::Xcode::V4_BUNDLE_ID) || MacOS.app_with_bundle_id(MacOS::Xcode::V3_BUNDLE_ID)
+ 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
Your Xcode is configured with an invalid path.