From 78da96fc15d1e25f8136e4dc8b54605bc968cc7f 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