Fix Apache download strategy in verbose mode
A better fix would be to rewrite the curl method to yield its output, but I don't feel like doing that right now.
This commit is contained in:
parent
e22ad69f00
commit
9dd2f1a2c3
@ -228,6 +228,7 @@ class CurlApacheMirrorDownloadStrategy < CurlDownloadStrategy
|
|||||||
end
|
end
|
||||||
wr.close
|
wr.close
|
||||||
|
|
||||||
|
rd.readline if ARGV.verbose? # Remove Homebrew output
|
||||||
buf << rd.read until rd.eof?
|
buf << rd.read until rd.eof?
|
||||||
rd.close
|
rd.close
|
||||||
Process.wait(pid)
|
Process.wait(pid)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user