bottle: only set prefix if un-relocatable
Closes Homebrew/homebrew#43819. Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
parent
e23cca8d84
commit
ed87972e2d
@ -217,7 +217,6 @@ module Homebrew
|
|||||||
|
|
||||||
bottle = BottleSpecification.new
|
bottle = BottleSpecification.new
|
||||||
bottle.root_url(root_url) if root_url
|
bottle.root_url(root_url) if root_url
|
||||||
bottle.prefix prefix
|
|
||||||
if relocatable
|
if relocatable
|
||||||
if skip_relocation
|
if skip_relocation
|
||||||
bottle.cellar :any_skip_relocation
|
bottle.cellar :any_skip_relocation
|
||||||
@ -226,6 +225,7 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
bottle.cellar cellar
|
bottle.cellar cellar
|
||||||
|
bottle.prefix prefix
|
||||||
end
|
end
|
||||||
bottle.revision bottle_revision
|
bottle.revision bottle_revision
|
||||||
bottle.sha256 bottle_path.sha256 => bottle_tag
|
bottle.sha256 bottle_path.sha256 => bottle_tag
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user