diff options
| author | Markus Reiter | 2017-08-08 22:28:08 +0200 |
|---|---|---|
| committer | Markus Reiter | 2017-08-08 23:06:40 +0200 |
| commit | 2cba3222008a6b326b60bbe0180c3985b6cb3a0a (patch) | |
| tree | ce0d423225fa0f7ed5632fa9665108cb1622aa59 /Library/Homebrew/utils | |
| parent | 1a30c165bfb82ae846e64c508f06455e0d3f285e (diff) | |
| download | brew-2cba3222008a6b326b60bbe0180c3985b6cb3a0a.tar.bz2 | |
Allow `curl` args to be overriden.
Diffstat (limited to 'Library/Homebrew/utils')
| -rw-r--r-- | Library/Homebrew/utils/curl.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
