Fix not capturing stderr from build commands

This commit is contained in:
Max Howell 2009-05-23 16:39:23 +01:00
parent 61cadf7b50
commit 0de774df34

View File

@ -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