Replace all wget with curl

wget is missing from some system (like macOS and Windows native),
it's better to use curl to simplify build environment.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
Huang Qi
2020-12-22 11:26:05 +08:00
committed by Xiang Xiao
parent c6947199b2
commit 073912e232
10 changed files with 16 additions and 15 deletions
+2 -2
View File
@@ -98,10 +98,10 @@ tzbin:
mkdir tzbin
tzcode-latest.tar.gz:
$(Q) wget --retr-symlinks ftp://ftp.iana.org/tz/tzcode-latest.tar.gz
$(Q) curl -L -O ftp://ftp.iana.org/tz/tzcode-latest.tar.gz
tzdata-latest.tar.gz:
$(Q) wget --retr-symlinks ftp://ftp.iana.org/tz/tzdata-latest.tar.gz
$(Q) curl -L -O ftp://ftp.iana.org/tz/tzdata-latest.tar.gz
.tzunpack: tzcode tzcode-latest.tar.gz tzdata-latest.tar.gz
$(Q) tar zx -C tzcode -f tzcode-latest.tar.gz