mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-22 16:24:27 +01:00
Fix error
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
451acec74b
commit
52c9e8313c
@ -10,7 +10,7 @@ source $MY_DIR/utils.sh
|
|||||||
# copied from https://github.com/pypa/manylinux/tree/master/docker/build_scripts
|
# 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_HASH=93fb2cd4b880656b4e8589c912a9fd092750166d555166370247f09d18f5d0c0
|
||||||
CURL_DOWNLOAD_URL=https://curl.haxx.se/download
|
CURL_DOWNLOAD_URL=https://curl.haxx.se/download
|
||||||
|
|
||||||
|
@ -31,14 +31,14 @@ if [[ -z "${NINJA_VERSION}" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Download
|
# 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 \
|
curl --connect-timeout 30 \
|
||||||
--max-time 10 \
|
--max-time 10 \
|
||||||
--retry 5 \
|
--retry 5 \
|
||||||
--retry-delay 10 \
|
--retry-delay 10 \
|
||||||
--retry-max-time 30 \
|
--retry-max-time 30 \
|
||||||
-# -o ninja.tar.gz -LO "v$url"
|
-# -o ninja.tar.gz -LO "$url"
|
||||||
|
|
||||||
mkdir ninja
|
mkdir ninja
|
||||||
tar -xzvf ./ninja.tar.gz --strip-components=1 -C ./ninja
|
tar -xzvf ./ninja.tar.gz --strip-components=1 -C ./ninja
|
||||||
|
Loading…
Reference in New Issue
Block a user