diff --git a/Library/Homebrew/formula_creator.rb b/Library/Homebrew/formula_creator.rb index 609d23e8d7..f776b76a9c 100644 --- a/Library/Homebrew/formula_creator.rb +++ b/Library/Homebrew/formula_creator.rb @@ -82,7 +82,13 @@ module Homebrew r = Resource.new r.url(@url) r.owner = self - @sha256 = r.fetch.sha256 if r.download_strategy == CurlDownloadStrategy + filepath = r.fetch + html_doctype_prefix = "