aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils.rb
diff options
context:
space:
mode:
authorMike McQuaid2012-01-29 20:06:45 +0000
committerMike McQuaid2012-01-29 20:08:08 +0000
commitc07ca9e56db09928c5ad6f412d5fb68d5069d018 (patch)
treead0f12b508438092801403a607bea7e64fda335a /Library/Homebrew/utils.rb
parent5508acc139c8da2ec3ea18127bd4e5ca60f17221 (diff)
downloadbrew-c07ca9e56db09928c5ad6f412d5fb68d5069d018.tar.bz2
Bottles should care about cellar and prefix
Diffstat (limited to 'Library/Homebrew/utils.rb')
-rw-r--r--Library/Homebrew/utils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb
index ac960f257..e91700c5e 100644
--- a/Library/Homebrew/utils.rb
+++ b/Library/Homebrew/utils.rb
@@ -400,7 +400,7 @@ module MacOS extend self
end
def bottles_supported?
- lion? and HOMEBREW_CELLAR.to_s == '/usr/local/Cellar'
+ lion? and HOMEBREW_PREFIX.to_s == '/usr/local' and HOMEBREW_CELLAR.to_s == '/usr/local/Cellar'
end
end