Browse Source

Improved printing of HTTP download progress on build scripts.

pull/685/head
Joao Matos 9 years ago
parent
commit
0f708fec14
  1. 2
      build/scripts/Utils.lua

2
build/scripts/Utils.lua

@ -84,7 +84,7 @@ function http.progress (total, curr) @@ -84,7 +84,7 @@ function http.progress (total, curr)
ratio = math.min(math.max(ratio, 0), 1);
local percent = math.floor(ratio * 100);
print("Download progress (" .. percent .. "%/100%)")
io.write("Download progress (" .. percent .. "%/100%)\r")
end
function download(url, file)

Loading…
Cancel
Save