aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-09-05 15:13:53 -0500
committerJack Nagel2014-09-05 15:13:53 -0500
commit7c470607028c041ccaecd666fcf5c0577ce6bb71 (patch)
treee33aefad891a697072abde22a4371d2db06cfb60 /Library
parentb9c796999b36adba5f2d1900144bab05259573cb (diff)
downloadbrew-7c470607028c041ccaecd666fcf5c0577ce6bb71.tar.bz2
Flush log stream before exec
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 071cfb07b..9782fffa2 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -511,6 +511,7 @@ class Formula
log = File.open(logfn, "w")
log.puts Time.now, "", cmd, args, ""
+ log.flush
if verbose
rd, wr = IO.pipe