From: Arkadiusz Miƛkiewicz Date: Mon, 1 Mar 2021 19:56:29 +0000 (+0100) Subject: Check certificate by default. Override locally. X-Git-Tag: auto/th/rpm-build-tools-4.10-1~12 X-Git-Url: http://git.pld-linux.org/?p=packages%2Frpm-build-tools.git;a=commitdiff_plain;h=dc57a960e0decb47a54b0fb847bef7c8085a8010 Check certificate by default. Override locally. --- diff --git a/builder.sh b/builder.sh index f94b0a3..c93a682 100755 --- a/builder.sh +++ b/builder.sh @@ -273,7 +273,6 @@ download_wget() { local outfile=$1 url=$2 retval wget_help if [ -z "${WGET_OPTS_SET+x}" ]; then wget_help="$(wget --help 2>&1)" - echo "$wget_help" | grep -q -- ' --no-check-certificate ' && WGET_OPTS="$WGET_OPTS --no-check-certificate" echo "$wget_help" | grep -q -- ' --inet ' && WGET_OPTS="$WGET_OPTS --inet" echo "$wget_help" | grep -q -- ' --retry-connrefused ' && WGET_OPTS="$WGET_OPTS --retry-connrefused" echo "$wget_help" | grep -q -- ' --no-iri ' && WGET_OPTS="$WGET_OPTS --no-iri"