diff options
| author | Markus Reiter | 2017-08-04 16:24:29 +0200 |
|---|---|---|
| committer | Markus Reiter | 2017-08-07 21:31:17 +0200 |
| commit | dc5a2c1764b1da3cfa85d8910338eb72cd4da96c (patch) | |
| tree | c8acbd7b6986db02f8f49b4116fe4f3d594f3d65 /Library/Homebrew/utils/github.rb | |
| parent | fb59e79689b15d71e6090d0f6f1f39f4d69800b1 (diff) | |
| download | brew-dc5a2c1764b1da3cfa85d8910338eb72cd4da96c.tar.bz2 | |
Simplify CurlDownloadStrategy.
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 |
