aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/test-bot.rb9
1 files changed, 6 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb
index 3f3e9ae52..d7886ff3c 100644
--- a/Library/Homebrew/cmd/test-bot.rb
+++ b/Library/Homebrew/cmd/test-bot.rb
@@ -154,9 +154,12 @@ module Homebrew
working_dir.cd { exec(*@command) }
end
write.close
- while line = read.gets
- puts line if verbose
- @output += line
+ while buf = read.read(1)
+ if verbose
+ print buf
+ $stdout.flush
+ end
+ @output << buf
end
ensure
read.close