mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Display progress bar when downloading
This commit is contained in:
parent
2c67a47517
commit
be3b76b59c
@ -122,7 +122,7 @@ protected
|
|||||||
def fetch
|
def fetch
|
||||||
tgz=File.expand_path File.basename(@url)
|
tgz=File.expand_path File.basename(@url)
|
||||||
unless File.exists? tgz
|
unless File.exists? tgz
|
||||||
`curl -LOA "#{$agent}" "#{@url}"`
|
`curl -#LOA "#{$agent}" "#{@url}"`
|
||||||
raise "Download failed" unless $? == 0
|
raise "Download failed" unless $? == 0
|
||||||
end
|
end
|
||||||
return tgz
|
return tgz
|
||||||
|
Loading…
x
Reference in New Issue
Block a user