From 7c31df0797eeaf04635fac2a27ae519e442f502f Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 8 Jan 2015 14:18:41 -0500 Subject: Remove the direct url writer from Resource --- Library/Homebrew/software_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/software_spec.rb') diff --git a/Library/Homebrew/software_spec.rb b/Library/Homebrew/software_spec.rb index 1102a4fc3..a1fba5661 100644 --- a/Library/Homebrew/software_spec.rb +++ b/Library/Homebrew/software_spec.rb @@ -224,7 +224,7 @@ class Bottle checksum, tag = spec.checksum_for(bottle_tag) filename = Filename.create(formula, tag, spec.revision) - @resource.url = build_url(spec.root_url, filename) + @resource.url(build_url(spec.root_url, filename)) @resource.download_strategy = CurlBottleDownloadStrategy @resource.version = formula.pkg_version @resource.checksum = checksum -- cgit v1.2.3