diff options
| author | Markus Reiter | 2017-08-08 18:10:13 +0200 |
|---|---|---|
| committer | Markus Reiter | 2017-08-08 18:10:13 +0200 |
| commit | ae4bafdb365cfa380d129b0a03bd99a1e4d960a4 (patch) | |
| tree | ab63c314bed39e41dfe47273902ca14c15515c23 /Library/Homebrew/utils/github.rb | |
| parent | b6b8e8863fe70fbdfd0758dd72127de0a96e329f (diff) | |
| download | brew-ae4bafdb365cfa380d129b0a03bd99a1e4d960a4.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 |
