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
|
||||
tgz=File.expand_path File.basename(@url)
|
||||
unless File.exists? tgz
|
||||
`curl -LOA "#{$agent}" "#{@url}"`
|
||||
`curl -#LOA "#{$agent}" "#{@url}"`
|
||||
raise "Download failed" unless $? == 0
|
||||
end
|
||||
return tgz
|
||||
|
Loading…
x
Reference in New Issue
Block a user