From 2b88282106904e3cc150334040b82c75c58f48f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=AD=E4=B9=9D=E9=BC=8E?= <109224573@qq.com> Date: Wed, 25 Sep 2019 23:00:19 +0800 Subject: [PATCH] Add -S for curl --- autogen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autogen.sh b/autogen.sh index 3743f706..2aa8606b 100755 --- a/autogen.sh +++ b/autogen.sh @@ -39,11 +39,11 @@ fi command -v curl >/dev/null 2>&1 && { 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' && 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' && mv -f config.sub build-aux/config.sub