diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb index 961e44d17b..1df7b2b6ec 100644 --- a/Library/Homebrew/cmd/bottle.rb +++ b/Library/Homebrew/cmd/bottle.rb @@ -217,7 +217,6 @@ module Homebrew bottle = BottleSpecification.new bottle.root_url(root_url) if root_url - bottle.prefix prefix if relocatable if skip_relocation bottle.cellar :any_skip_relocation @@ -226,6 +225,7 @@ module Homebrew end else bottle.cellar cellar + bottle.prefix prefix end bottle.revision bottle_revision bottle.sha256 bottle_path.sha256 => bottle_tag