Display progress bar when downloading

This commit is contained in:
Max Howell 2009-05-22 15:37:26 +01:00
parent 2c67a47517
commit be3b76b59c

View File

@ -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