Bottles should care about cellar path not prefix.

Closes Homebrew/homebrew#9844.
This commit is contained in:
Mike McQuaid 2012-01-29 13:03:24 +00:00
parent 62cfa49082
commit 5508acc139

View File

@ -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