CurlApacheMirrorDownloadStrategy: ignore HOMEBREW_CURL_VERBOSE

Fixes Homebrew/homebrew#43002

Closes Homebrew/homebrew#43058.

Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
Xu Cheng 2015-08-18 17:05:47 +08:00
parent 4740d7fad4
commit ab363ea1d9

View File

@ -359,6 +359,7 @@ class CurlApacheMirrorDownloadStrategy < CurlDownloadStrategy
buf = ""
pid = fork do
ENV.delete "HOMEBREW_CURL_VERBOSE"
rd.close
$stdout.reopen(wr)
$stderr.reopen(wr)