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.' |