Fix error

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
Bensuperpc 2022-05-18 22:34:46 +02:00
parent 451acec74b
commit 52c9e8313c
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ source $MY_DIR/utils.sh
# copied from https://github.com/pypa/manylinux/tree/master/docker/build_scripts
#
CURL_ROOT=curl-7_83_1
CURL_ROOT=curl-7.83.1
CURL_HASH=93fb2cd4b880656b4e8589c912a9fd092750166d555166370247f09d18f5d0c0
CURL_DOWNLOAD_URL=https://curl.haxx.se/download

View File

@ -31,14 +31,14 @@ if [[ -z "${NINJA_VERSION}" ]]; then
fi
# Download
url="https://github.com/ninja-build/ninja/archive/${NINJA_VERSION}.tar.gz"
url="https://github.com/ninja-build/ninja/archive/v${NINJA_VERSION}.tar.gz"
curl --connect-timeout 30 \
--max-time 10 \
--retry 5 \
--retry-delay 10 \
--retry-max-time 30 \
-# -o ninja.tar.gz -LO "v$url"
-# -o ninja.tar.gz -LO "$url"
mkdir ninja
tar -xzvf ./ninja.tar.gz --strip-components=1 -C ./ninja