diff options
| author | ilovezfs | 2017-08-07 14:31:56 -0700 |
|---|---|---|
| committer | GitHub | 2017-08-07 14:31:56 -0700 |
| commit | 986887b413897413266151c92d5071d0a82cf966 (patch) | |
| tree | e39a40888f007b39909711a76075ae822ab364ae /Library/Homebrew/utils/github.rb | |
| parent | 6ef49d8b86e436cb37df1344019189a2f2df0bbb (diff) | |
| download | brew-986887b413897413266151c92d5071d0a82cf966.tar.bz2 | |
Revert "Refactor SVN and cURL download strategies."
Diffstat (limited to 'Library/Homebrew/utils/github.rb')
| -rw-r--r-- | Library/Homebrew/utils/github.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils/github.rb b/Library/Homebrew/utils/github.rb index 07eea4384..1a781cee6 100644 --- a/Library/Homebrew/utils/github.rb +++ b/Library/Homebrew/utils/github.rb @@ -166,7 +166,7 @@ module GitHub args += ["--dump-header", headers_tmpfile.path] - output, errors, status = curl_output(url.to_s, "--location", *args) + output, errors, status = curl_output(url.to_s, *args) output, _, http_code = output.rpartition("\n") output, _, http_code = output.rpartition("\n") if http_code == "000" headers = headers_tmpfile.read |
