From 9dd2f1a2c38e583deb3938d59f36fadd5a319f2c Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 11 Nov 2013 12:35:51 -0600 Subject: 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. --- Library/Homebrew/download_strategy.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'Library') 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) -- cgit v1.2.3