diff options
Diffstat (limited to 'Library/Homebrew/cmd')
| -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 |
