aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2015-01-08 14:28:43 -0500
committerJack Nagel2015-01-08 14:28:43 -0500
commit459f92b065546ebef244f101636c49aca9bc4b2b (patch)
treee44b3ea58225be347223e976c5a7c1afcc88a1fb /Library/Homebrew
parent0f01e9ff43c1576bc91741732ca961ee3d7e0545 (diff)
downloadbrew-459f92b065546ebef244f101636c49aca9bc4b2b.tar.bz2
Remove another use of the direct url writer
masgn is hard to grep for :/
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/cmd/create.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/create.rb b/Library/Homebrew/cmd/create.rb
index f99bf00a5..3f169be21 100644
--- a/Library/Homebrew/cmd/create.rb
+++ b/Library/Homebrew/cmd/create.rb
@@ -109,7 +109,9 @@ class FormulaCreator
if fetch? && version
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
end