aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-11-29 21:05:20 -0600
committerJack Nagel2013-11-29 21:05:28 -0600
commit0177fd5877227bdd5578a8b237a0997f01bc7148 (patch)
tree5d181b688dbabb35c0d0d1227cd5c6904088e033 /Library
parent7eab3761392d309f61d237a5c3167d87ba8265eb (diff)
downloadhomebrew-0177fd5877227bdd5578a8b237a0997f01bc7148.tar.bz2
Flush stdout before leaving Formula#system
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index dd3d17f08..672d21056 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -604,6 +604,8 @@ class Formula
Process.wait
+ $stdout.flush
+
unless $?.success?
f.flush
Kernel.system "/usr/bin/tail", "-n", "5", logfn unless ARGV.verbose?