diff options
| author | Jack Nagel | 2013-11-11 12:35:51 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-11-11 12:36:14 -0600 |
| commit | 9dd2f1a2c38e583deb3938d59f36fadd5a319f2c (patch) | |
| tree | af8527174e357718144e208ffeba7ad1b8cdbe7c | |
| parent | e22ad69f000369a3cffa773481132d9659635e3b (diff) | |
| download | brew-9dd2f1a2c38e583deb3938d59f36fadd5a319f2c.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.
| -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) |
