Remove another use of the direct url writer

masgn is hard to grep for :/
This commit is contained in:
Jack Nagel 2015-01-08 14:28:43 -05:00
parent 0f01e9ff43
commit 459f92b065

View File

@ -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