diff options
| author | Jack Nagel | 2013-11-11 12:35:51 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-11-11 12:36:14 -0600 |
| commit | 0516663cda5a256b3f2afeb171acb94dd5d233f3 (patch) | |
| tree | eedcf4449ff734ec9a18cf1e0f8bf81b29c7614c /Library | |
| parent | 2411064293dc35cf17a3a78894b1f41273ba3b49 (diff) | |
| download | homebrew-0516663cda5a256b3f2afeb171acb94dd5d233f3.tar.bz2 | |
Fix Apache download strategy in verbose mode
A better fix would be to rewrite the curl method to yield its output,
but I don't feel like doing that right now.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index a3e08c1f4..bc24d78e8 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -228,6 +228,7 @@ class CurlApacheMirrorDownloadStrategy < CurlDownloadStrategy end wr.close + rd.readline if ARGV.verbose? # Remove Homebrew output buf << rd.read until rd.eof? rd.close Process.wait(pid) |
