Skip to content

Commit 9d9d15e

Browse files
committed
Use wget instead of curl
1 parent ffefa3f commit 9d9d15e

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

ci/android-install-ndk.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -ex
44

55
NDK=android-ndk-r21d
6-
curl --retry 20 -O https://dl.google.com/android/repository/${NDK}-linux-x86_64.zip
6+
wget --tries=20 https://dl.google.com/android/repository/${NDK}-linux-x86_64.zip
77
unzip -q ${NDK}-linux-x86_64.zip
88

99
case "$1" in

ci/android-install-sdk.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ set -ex
1111

1212
SDK=4333796
1313
mkdir sdk
14-
curl --retry 20 https://dl.google.com/android/repository/sdk-tools-linux-${SDK}.zip -O
14+
wget --tries=20 https://dl.google.com/android/repository/sdk-tools-linux-${SDK}.zip
1515
unzip -q -d sdk sdk-tools-linux-${SDK}.zip
1616

1717
case "$1" in

ci/android-sysimage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ main() {
1414
apt-get install --no-install-recommends e2tools
1515

1616
pushd "${td}"
17-
curl --retry 5 -O "${URL}/${name}"
17+
wget --tries=5 "${URL}/${name}"
1818
unzip -q "${name}"
1919

2020
local system

ci/docker/aarch64-linux-android/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ RUN apt-get update
55
RUN apt-get install -y --no-install-recommends libc6-dev gcc
66
RUN apt-get install -y --no-install-recommends \
77
file \
8-
curl \
8+
wget \
99
ca-certificates \
1010
python3 \
1111
python3-distutils \

ci/docker/arm-linux-androideabi/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ RUN apt-get update
55
RUN apt-get install -y --no-install-recommends libc6-dev gcc
66
RUN apt-get install -y --no-install-recommends \
77
file \
8-
curl \
8+
wget \
99
ca-certificates \
1010
python3 \
1111
python3-distutils \

ci/docker/x86_64-linux-android/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM ubuntu:20.04
33
RUN apt-get update && \
44
apt-get install -y --no-install-recommends \
55
ca-certificates \
6-
curl \
6+
wget \
77
gcc \
88
libc-dev \
99
python3 \

0 commit comments

Comments
 (0)