Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2507)

Unified Diff: build/linux/sysroot_scripts/install-sysroot.py

Issue 2398633004: Build: Use wget instead of curl to download sysroots (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/linux/sysroot_scripts/install-sysroot.py
diff --git a/build/linux/sysroot_scripts/install-sysroot.py b/build/linux/sysroot_scripts/install-sysroot.py
index 552b94fc9e1b21740ede99184b782cc0ed68e816..f25bf695b61222cc31e609d2b8ddb0d834d1e32a 100755
--- a/build/linux/sysroot_scripts/install-sysroot.py
+++ b/build/linux/sysroot_scripts/install-sysroot.py
@@ -246,7 +246,7 @@ def InstallSysroot(target_platform, target_arch):
sys.stdout.flush()
sys.stderr.flush()
subprocess.check_call(
- ['curl', '--fail', '--retry', '3', '-L', url, '-o', tarball])
+ ['wget', '--quiet', '-t', '3', '-O', tarball, url])
sha1sum = GetSha1(tarball)
if sha1sum != tarball_sha1sum:
raise Error('Tarball sha1sum is wrong.'
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698