]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- wget stuff in one place
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 27 Apr 2006 16:35:33 +0000 (16:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    builder.sh -> 1.426

builder.sh

index 801394c2644eb5e633268384712fcf41d1a1a84a..d638bae1f7db02c26f5f3bed7ed4a56a6b6cdde4 100644 (file)
@@ -125,8 +125,6 @@ fi
 
 [ -f "$USER_CFG" ] && . "$USER_CFG"
 
-wget --help 2>&1 | grep -q ' \-\-no-check\-certificate ' && WGET_OPTS="$WGET_OPTS --no-check-certificate"
-
 if [ "$SCHEDTOOL" = "auto" ]; then
        if [ -x /usr/bin/schedtool ] && schedtool -B -e echo >/dev/null; then
                SCHEDTOOL="schedtool -B -e"
@@ -144,6 +142,7 @@ elif [ -n "$USE_AXEL" ]; then
        GETURI2="$GETURI"
        OUTFILEOPT="-o"
 else
+       wget --help 2>&1 | grep -q ' \-\-no-check\-certificate ' && WGET_OPTS="$WGET_OPTS --no-check-certificate"
        wget --help 2>&1 | grep -q ' \-\-inet ' && WGET_OPTS="$WGET_OPTS --inet"
        wget --help 2>&1 | grep -q ' \-\-retry\-connrefused ' && WGET_OPTS="$WGET_OPTS --retry-connrefused"
 
This page took 0.037599 seconds and 4 git commands to generate.