aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2013-09-06 22:49:31 -0500
committerJack Nagel2013-09-06 22:49:31 -0500
commit77b5805fda1524d504e4341a6b90c283cace5152 (patch)
treecc24eb18a3a5b1fdebd8dbb0f6843e2807d84822
parent45d5471a43798cfb51ecbd41691b6302f7d70549 (diff)
downloadbrew-77b5805fda1524d504e4341a6b90c283cace5152.tar.bz2
Close the read end of the error pipe after the build
-rw-r--r--Library/Homebrew/formula_installer.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index 328334b83..789e3b5aa 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -374,6 +374,8 @@ class FormulaInstaller
f.rack.rmdir_if_possible
end
raise
+ ensure
+ read.close
end
def link