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
commitb96fac7278b6933c49e38acc343d965883a77bb5 (patch)
treeacb5c06f0cda0af0d1e7777a269a22dc40738076 /Library/Homebrew/utils.rb
parent0358ef47b0eada83b4905772093df4d41c60b297 (diff)
downloadhomebrew-b96fac7278b6933c49e38acc343d965883a77bb5.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