diff options
| author | Markus Reiter | 2017-08-07 22:13:10 +0200 |
|---|---|---|
| committer | GitHub | 2017-08-07 22:13:10 +0200 |
| commit | 6ef49d8b86e436cb37df1344019189a2f2df0bbb (patch) | |
| tree | c8acbd7b6986db02f8f49b4116fe4f3d594f3d65 /Library/Homebrew/utils/github.rb | |
| parent | 69799d97b1e7314912b2ee234dec2c179c5fb969 (diff) | |
| parent | dc5a2c1764b1da3cfa85d8910338eb72cd4da96c (diff) | |
| download | brew-6ef49d8b86e436cb37df1344019189a2f2df0bbb.tar.bz2 | |
Merge pull request #2848 from reitermarkus/refactoring
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 1a781cee6..07eea4384 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, *args) + output, errors, status = curl_output(url.to_s, "--location", *args) output, _, http_code = output.rpartition("\n") output, _, http_code = output.rpartition("\n") if http_code == "000" headers = headers_tmpfile.read |
