Revert "Disable bottles when HOMEBREW_CELLAR.parent != HOMEBREW_PREFIX"
This reverts commit fdf20dc43971b728520d518f3b6ef0bcb16aeb21. Closes Homebrew/homebrew#24831. Closes Homebrew/homebrew#24780.
This commit is contained in:
parent
4a972e5f41
commit
4d8e023b7f
@ -17,7 +17,6 @@ def install_bottle? f, options={:warn=>false}
|
|||||||
return false unless f.pour_bottle?
|
return false unless f.pour_bottle?
|
||||||
return false unless f.default_build?
|
return false unless f.default_build?
|
||||||
return false unless bottle_current?(f)
|
return false unless bottle_current?(f)
|
||||||
return false if HOMEBREW_CELLAR.parent != HOMEBREW_PREFIX # XXX: see #24780
|
|
||||||
if f.bottle.cellar != :any && f.bottle.cellar != HOMEBREW_CELLAR.to_s
|
if f.bottle.cellar != :any && f.bottle.cellar != HOMEBREW_CELLAR.to_s
|
||||||
if options[:warn]
|
if options[:warn]
|
||||||
opoo "Building source; cellar of #{f}'s bottle is #{f.bottle.cellar}"
|
opoo "Building source; cellar of #{f}'s bottle is #{f.bottle.cellar}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user