aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorBaptiste Fontaine2016-01-20 00:29:14 +0100
committerBaptiste Fontaine2016-01-20 11:37:42 +0100
commit861910b85fd1521b14b0c40ec1013b229d1061ff (patch)
treef93fb6679865a18c75beac2bc58e38e157f47ff7 /Library/Homebrew/cmd
parent026363e1edff723217d72d9ac0d38f699d9ed850 (diff)
downloadbrew-861910b85fd1521b14b0c40ec1013b229d1061ff.tar.bz2
sh: flush stdout before executing the shell
Closes Homebrew/homebrew#48268. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/sh.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/sh.rb b/Library/Homebrew/cmd/sh.rb
index bc09d4850..5ada75ab2 100644
--- a/Library/Homebrew/cmd/sh.rb
+++ b/Library/Homebrew/cmd/sh.rb
@@ -24,6 +24,7 @@ module Homebrew
ignore our configuration.
When done, type `exit'.
EOS
+ $stdout.flush
exec ENV["SHELL"]
end
end