aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-11-01 23:14:59 -0500
committerJack Nagel2013-11-01 23:16:17 -0500
commit8ce3a9f168205bc296aacd1b37137eda49f54fe5 (patch)
treea1305e4e325c83b22a4cb5714e15d84f7240c352 /Library
parent4a5b65c9f558aa03f8e7a130fb703aae4d4317e2 (diff)
downloadbrew-8ce3a9f168205bc296aacd1b37137eda49f54fe5.tar.bz2
cc: ensure wrapper output is always flushed
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/ENV/4.3/cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc
index e8e586da4..44895d28e 100755
--- a/Library/ENV/4.3/cc
+++ b/Library/ENV/4.3/cc
@@ -242,6 +242,8 @@ class Cmd
end
if __FILE__ == $PROGRAM_NAME
+ STDOUT.sync = STDERR.sync = true
+
##################################################################### sanity
abort "The build-tool has reset ENV. --env=std required." unless ENV['HOMEBREW_BREW_FILE']