From 2cba3222008a6b326b60bbe0180c3985b6cb3a0a Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Tue, 8 Aug 2017 22:28:08 +0200 Subject: Allow `curl` args to be overriden. --- Library/Homebrew/utils/curl.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/utils') diff --git a/Library/Homebrew/utils/curl.rb b/Library/Homebrew/utils/curl.rb index 6aaf9be0c..9f0d8f75d 100644 --- a/Library/Homebrew/utils/curl.rb +++ b/Library/Homebrew/utils/curl.rb @@ -38,7 +38,7 @@ def curl(*args) end def curl_download(*args, to: nil, **options) - curl(*args, "--location", "--remote-time", "--continue-at", "-", "--output", to, **options) + curl("--location", "--remote-time", "--continue-at", "-", "--output", to, *args, **options) end def curl_output(*args, **options) -- cgit v1.2.3