]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
Check certificate by default. Override locally.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 1 Mar 2021 19:56:29 +0000 (20:56 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 1 Mar 2021 19:56:29 +0000 (20:56 +0100)
builder.sh

index f94b0a30ffcc6dc75520f48114c0f1e3d12a9123..c93a68228111960a201cab12f04b09a1564e5d08 100755 (executable)
@@ -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"
This page took 0.084675 seconds and 4 git commands to generate.