From 6a30605ff94100eca274f34e52fdeef2a42ef251 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Mon, 18 May 2020 19:32:35 +0200 Subject: [PATCH] Add --fail to curl options Fixes #960 --- autogen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autogen.sh b/autogen.sh index 2aa8606b..1a48e235 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 -sSL -o config.guess \ + curl -sSL --fail -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 -sSL -o config.sub \ + curl -sSL --fail -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