diff options
| author | Jack Nagel | 2015-01-08 14:28:43 -0500 |
|---|---|---|
| committer | Jack Nagel | 2015-01-08 14:28:43 -0500 |
| commit | f5ca866db27bcba8b8322456b3ad1814ec555072 (patch) | |
| tree | a8e94478303abf7e1197f4ae3f23c5eb5b844759 /Library | |
| parent | 7c31df0797eeaf04635fac2a27ae519e442f502f (diff) | |
| download | homebrew-f5ca866db27bcba8b8322456b3ad1814ec555072.tar.bz2 | |
Remove another use of the direct url writer
masgn is hard to grep for :/
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/create.rb | 4 |
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 |
