Remove another use of the direct url writer
masgn is hard to grep for :/
This commit is contained in:
parent
0f01e9ff43
commit
459f92b065
@ -109,7 +109,9 @@ class FormulaCreator
|
|||||||
|
|
||||||
if fetch? && version
|
if fetch? && version
|
||||||
r = Resource.new
|
r = Resource.new
|
||||||
r.url, r.version, r.owner = url, version, self
|
r.url(url)
|
||||||
|
r.version(version)
|
||||||
|
r.owner = self
|
||||||
@sha1 = r.fetch.sha1 if r.download_strategy == CurlDownloadStrategy
|
@sha1 = r.fetch.sha1 if r.download_strategy == CurlDownloadStrategy
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user