disable :any bottles due to Homebrew/homebrew#24780

This commit is contained in:
Adam Vandenberg 2013-11-30 10:29:27 -08:00
parent bac8cce29f
commit 9d72738c54

View File

@ -17,7 +17,10 @@ def install_bottle? f, options={:warn=>false}
return false unless f.pour_bottle?
return false unless f.default_build?
return false unless bottle_current?(f)
if f.bottle.cellar != :any && f.bottle.cellar != HOMEBREW_CELLAR.to_s
# Disable "any", it is broken when relocating via :any
# if f.bottle.cellar != :any && f.bottle.cellar != HOMEBREW_CELLAR.to_s
# See: https://github.com/mxcl/homebrew/issues/24780
if f.bottle.cellar != HOMEBREW_CELLAR.to_s
if options[:warn]
opoo "Building source; cellar of #{f}'s bottle is #{f.bottle.cellar}"
end