bottle --merge: Fix bug with cellar :any
When merging cellar, :any ought to have higher priority than :any_skip_relocation. The variables first and second are strings, not tags.
This commit is contained in:
parent
a1f4433d17
commit
e2db288340
@ -446,10 +446,10 @@ module Homebrew
|
|||||||
first
|
first
|
||||||
elsif second.start_with?("/")
|
elsif second.start_with?("/")
|
||||||
second
|
second
|
||||||
elsif cellars.include?(:any)
|
elsif cellars.include?("any")
|
||||||
:any
|
"any"
|
||||||
elsif cellars.include?(:any_skip_relocation)
|
elsif cellars.include?("any_skip_relocation")
|
||||||
:any_skip_relocation
|
"any_skip_relocation"
|
||||||
else
|
else
|
||||||
second
|
second
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user