1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 10:05:05 -07:00

Add -S for curl

This commit is contained in:
谭九鼎 2019-09-25 23:00:19 +08:00 committed by GitHub
parent 2f915846ff
commit 78da96fc15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,11 +39,11 @@ fi
command -v curl >/dev/null 2>&1 && { command -v curl >/dev/null 2>&1 && {
echo "Downloading config.guess and config.sub..." echo "Downloading config.guess and config.sub..."
curl -sL -o config.guess \ curl -sSL -o config.guess \
'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD' && 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD' &&
mv -f config.guess build-aux/config.guess mv -f config.guess build-aux/config.guess
curl -sL -o config.sub \ curl -sSL -o config.sub \
'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD' && 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD' &&
mv -f config.sub build-aux/config.sub mv -f config.sub build-aux/config.sub