aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/patch.rb
diff options
context:
space:
mode:
authorJack Nagel2015-01-08 14:18:41 -0500
committerJack Nagel2015-01-08 14:18:41 -0500
commit0f01e9ff43c1576bc91741732ca961ee3d7e0545 (patch)
tree3d9c59a8c33b7fdec01f3f9beb7a0fc007924b64 /Library/Homebrew/patch.rb
parentba8926ea11e4b372ed66fd13d9c71669357e8ca1 (diff)
downloadbrew-0f01e9ff43c1576bc91741732ca961ee3d7e0545.tar.bz2
Remove the direct url writer from Resource
Diffstat (limited to 'Library/Homebrew/patch.rb')
-rw-r--r--Library/Homebrew/patch.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/patch.rb b/Library/Homebrew/patch.rb
index 72deabefd..4b41d972d 100644
--- a/Library/Homebrew/patch.rb
+++ b/Library/Homebrew/patch.rb
@@ -161,7 +161,7 @@ end
class LegacyPatch < ExternalPatch
def initialize(strip, url)
super(strip)
- resource.url = url
+ resource.url(url)
resource.download_strategy = CurlDownloadStrategy
end