aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/os/mac
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/os/mac
parent97ca3baedc127ac9d7352361178e2706917c729d (diff)
downloadbrew-0d3121f7811ed3bf55565065bf1ed2e1d1b646c2.tar.bz2
Batch up mdfind calls when possible
Diffstat (limited to 'Library/Homebrew/os/mac')
-rw-r--r--Library/Homebrew/os/mac/xcode.rb2
-rw-r--r--Library/Homebrew/os/mac/xquartz.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb
index b64fc6edb..d89aa8d26 100644
--- a/Library/Homebrew/os/mac/xcode.rb
+++ b/Library/Homebrew/os/mac/xcode.rb
@@ -70,7 +70,7 @@ module OS
# helper tools and installed Xcode in a non-conventional place, this
# is our only option. See: http://superuser.com/questions/390757
def bundle_path
- MacOS.app_with_bundle_id(V4_BUNDLE_ID) || MacOS.app_with_bundle_id(V3_BUNDLE_ID)
+ MacOS.app_with_bundle_id(V4_BUNDLE_ID, V3_BUNDLE_ID)
end
def installed?
diff --git a/Library/Homebrew/os/mac/xquartz.rb b/Library/Homebrew/os/mac/xquartz.rb
index f864720f9..9a2266c39 100644
--- a/Library/Homebrew/os/mac/xquartz.rb
+++ b/Library/Homebrew/os/mac/xquartz.rb
@@ -52,7 +52,7 @@ module OS
end
def bundle_path
- MacOS.app_with_bundle_id(FORGE_BUNDLE_ID) || MacOS.app_with_bundle_id(APPLE_BUNDLE_ID)
+ MacOS.app_with_bundle_id(FORGE_BUNDLE_ID, APPLE_BUNDLE_ID)
end
def version_from_mdls(path)