mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Fix not capturing stderr from build commands
This commit is contained in:
parent
61cadf7b50
commit
0de774df34
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user