bottle: allow prefix cellar to be any*
This commit is contained in:
parent
9e337978d9
commit
e19fab86c0
@ -367,7 +367,9 @@ module Homebrew
|
|||||||
mismatches = [:root_url, :prefix, :cellar, :rebuild].reject do |key|
|
mismatches = [:root_url, :prefix, :cellar, :rebuild].reject do |key|
|
||||||
old_spec.send(key) == bottle.send(key)
|
old_spec.send(key) == bottle.send(key)
|
||||||
end
|
end
|
||||||
if old_spec.cellar == :any && bottle.cellar == :any_skip_relocation
|
if (old_spec.cellar == :any && bottle.cellar == :any_skip_relocation) ||
|
||||||
|
(old_spec.cellar == cellar &&
|
||||||
|
[:any, :any_skip_relocation].include?(bottle.cellar))
|
||||||
mismatches.delete(:cellar)
|
mismatches.delete(:cellar)
|
||||||
bottle.cellar :any
|
bottle.cellar :any
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user