diff options
| author | Mike McQuaid | 2013-11-26 16:28:18 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2013-11-26 16:28:27 +0000 |
| commit | 5ce8f7a3a494e1d8e812369301fd4c4a05a7d9b7 (patch) | |
| tree | 2c17f36b3fd053ded3ecd6137facee482f8c17fa /Library/Homebrew/build.rb | |
| parent | e15464cd2f98cd05aa9d04402e498b48e72babb3 (diff) | |
| download | homebrew-5ce8f7a3a494e1d8e812369301fd4c4a05a7d9b7.tar.bz2 | |
FormulaInstaller: flush before closing writes.
This seems to help the problem with `brew install -v` sometimes truncating output.
Closes #24666.
Diffstat (limited to 'Library/Homebrew/build.rb')
| -rwxr-xr-x | Library/Homebrew/build.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb index e75a6841e..693b129d4 100755 --- a/Library/Homebrew/build.rb +++ b/Library/Homebrew/build.rb @@ -46,6 +46,7 @@ def main rescue Exception => e unless error_pipe.nil? e.continuation = nil if ARGV.debug? + error_pipe.flush Marshal.dump(e, error_pipe) error_pipe.close exit! 1 |
