aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-11-11 12:35:51 -0600
committerJack Nagel2013-11-11 12:36:14 -0600
commit9dd2f1a2c38e583deb3938d59f36fadd5a319f2c (patch)
treeaf8527174e357718144e208ffeba7ad1b8cdbe7c /Library
parente22ad69f000369a3cffa773481132d9659635e3b (diff)
downloadbrew-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.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/download_strategy.rb1
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)