diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index d09cf9038..faa1b96db 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -159,7 +159,7 @@ class CurlApacheMirrorDownloadStrategy < CurlDownloadStrategy mirrors = MultiJson.decode(open("#{@url}&asjson=1").read) url = mirrors.fetch('preferred') + mirrors.fetch('path_info') - ohai "Best Mirror #{mirror_url}" + ohai "Best Mirror #{url}" curl url, '-C', downloaded_size, '-o', @temporary_path rescue IndexError raise "Couldn't determine mirror. Try again later." |
