aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formulary.rb
diff options
context:
space:
mode:
authorilovezfs2017-08-07 14:31:56 -0700
committerGitHub2017-08-07 14:31:56 -0700
commit986887b413897413266151c92d5071d0a82cf966 (patch)
treee39a40888f007b39909711a76075ae822ab364ae /Library/Homebrew/formulary.rb
parent6ef49d8b86e436cb37df1344019189a2f2df0bbb (diff)
downloadbrew-986887b413897413266151c92d5071d0a82cf966.tar.bz2
Revert "Refactor SVN and cURL download strategies."
Diffstat (limited to 'Library/Homebrew/formulary.rb')
-rw-r--r--Library/Homebrew/formulary.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formulary.rb b/Library/Homebrew/formulary.rb
index dd67b4f24..195d15cec 100644
--- a/Library/Homebrew/formulary.rb
+++ b/Library/Homebrew/formulary.rb
@@ -165,7 +165,7 @@ module Formulary
def load_file
HOMEBREW_CACHE_FORMULA.mkpath
FileUtils.rm_f(path)
- curl_download url, to: path
+ curl url, "-o", path
super
rescue MethodDeprecatedError => e
if url =~ %r{github.com/([\w-]+)/homebrew-([\w-]+)/}