diff options
| author | Markus Reiter | 2017-08-08 19:26:33 +0200 |
|---|---|---|
| committer | GitHub | 2017-08-08 19:26:33 +0200 |
| commit | 1a30c165bfb82ae846e64c508f06455e0d3f285e (patch) | |
| tree | ab63c314bed39e41dfe47273902ca14c15515c23 /Library/Homebrew/utils/github.rb | |
| parent | 93051b27d6886dae6df01544c86df579f21f6410 (diff) | |
| parent | ae4bafdb365cfa380d129b0a03bd99a1e4d960a4 (diff) | |
| download | brew-1a30c165bfb82ae846e64c508f06455e0d3f285e.tar.bz2 | |
Merge pull request #3026 from reitermarkus/refactor-download-strategies
Refactor 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 |
