From 5508acc139c8da2ec3ea18127bd4e5ca60f17221 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 29 Jan 2012 13:03:24 +0000 Subject: [PATCH] Bottles should care about cellar path not prefix. Closes Homebrew/homebrew#9844. --- Library/Homebrew/utils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index e22df05a8e..ac960f257e 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_PREFIX.to_s == '/usr/local' + lion? and HOMEBREW_CELLAR.to_s == '/usr/local/Cellar' end end