Set bottle name so brew fetch --retry works
This commit is contained in:
parent
35093b7a37
commit
7dcb54a963
@ -100,12 +100,13 @@ end
|
|||||||
class Bottle
|
class Bottle
|
||||||
extend Forwardable
|
extend Forwardable
|
||||||
|
|
||||||
attr_reader :resource, :prefix, :cellar, :revision
|
attr_reader :name, :resource, :prefix, :cellar, :revision
|
||||||
|
|
||||||
def_delegators :resource, :url, :fetch, :verify_download_integrity
|
def_delegators :resource, :url, :fetch, :verify_download_integrity
|
||||||
def_delegators :resource, :downloader, :cached_download, :clear_cache
|
def_delegators :resource, :downloader, :cached_download, :clear_cache
|
||||||
|
|
||||||
def initialize(f, spec)
|
def initialize(f, spec)
|
||||||
|
@name = f.name
|
||||||
@resource = Resource.new
|
@resource = Resource.new
|
||||||
@resource.owner = f
|
@resource.owner = f
|
||||||
@resource.url = bottle_url(
|
@resource.url = bottle_url(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user