aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorJack Nagel2014-04-01 20:47:26 -0500
committerJack Nagel2014-04-01 20:47:26 -0500
commit0d3121f7811ed3bf55565065bf1ed2e1d1b646c2 (patch)
tree47af64321c05a9abf702134d55220af0cfa22a2f /Library/Homebrew/cmd
parent97ca3baedc127ac9d7352361178e2706917c729d (diff)
downloadbrew-0d3121f7811ed3bf55565065bf1ed2e1d1b646c2.tar.bz2
Batch up mdfind calls when possible
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 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.