Yes, curl, follow redirects.
This commit is contained in:
parent
163fbd85e7
commit
c29378c2f8
@ -14,7 +14,7 @@ if [ ! -d out/openssl-${OPENSSL_VERSION} ]
|
|||||||
then
|
then
|
||||||
if [ ! -f out/openssl-${OPENSSL_VERSION}.tar.gz ]
|
if [ ! -f out/openssl-${OPENSSL_VERSION}.tar.gz ]
|
||||||
then
|
then
|
||||||
curl https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz -o out/openssl-${OPENSSL_VERSION}.tar.gz || exit 128
|
curl -L https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz -o out/openssl-${OPENSSL_VERSION}.tar.gz || exit 128
|
||||||
fi
|
fi
|
||||||
tar -C out/ -xzf out/openssl-${OPENSSL_VERSION}.tar.gz || exit 128
|
tar -C out/ -xzf out/openssl-${OPENSSL_VERSION}.tar.gz || exit 128
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user