aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Howell2009-05-23 16:39:23 +0100
committerMax Howell2009-05-23 18:19:10 +0100
commit0de774df340fb425d3dd75ae7cac9923963b457c (patch)
tree171b12895830dce1714bd725c8f95027820c0cd7
parent61cadf7b50cb58884a04a6f1e467bfa23693037c (diff)
downloadbrew-0de774df340fb425d3dd75ae7cac9923963b457c.tar.bz2
Fix not capturing stderr from build commands
-rw-r--r--Cellar/homebrew/brewkit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cellar/homebrew/brewkit.rb b/Cellar/homebrew/brewkit.rb
index 30dabeb22..05c5dd0a6 100644
--- a/Cellar/homebrew/brewkit.rb
+++ b/Cellar/homebrew/brewkit.rb
@@ -225,7 +225,7 @@ def system cmd
ohai cmd
out=''
- IO.popen("#{cmd} 2>1") do |f|
+ IO.popen("#{cmd} 2>&1") do |f|
until f.eof?
s=f.gets
out+=s