Add -S for curl

This commit is contained in:
谭九鼎 2019-09-25 23:00:19 +08:00 committed by Frank Denis
parent 146ce11b11
commit 2b88282106

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