]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- kill excess quoting
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 27 Apr 2006 16:37:09 +0000 (16:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    builder.sh -> 1.427

builder.sh

index d638bae1f7db02c26f5f3bed7ed4a56a6b6cdde4..cf80f764c7823ec43fe38a836c7b7c2661333606 100644 (file)
@@ -142,9 +142,9 @@ 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"
+       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"
 
        GETURI="wget --passive-ftp -c -nd -t$WGET_RETRIES $WGET_OPTS"
        GETURI2="wget -c -nd -t$WGET_RETRIES $WGET_OPTS"
This page took 0.164671 seconds and 4 git commands to generate.