]> git.pld-linux.org Git - packages/rpm-build-tools.git/blobdiff - builder_.sh
- Typo in poldek -i BR-prefetch line. Fixed.
[packages/rpm-build-tools.git] / builder_.sh
index acf5eb94d8428914be5ce0f2fe20c3f2bf2058e3..b0ec099e400942e01a8b94c89c79461f423da399 100644 (file)
@@ -77,8 +77,11 @@ DEF_NICE_LEVEL=0
 
 FAIL_IF_NO_SOURCES="yes"
 
-GETURI="wget --passive-ftp -c -nd -t$WGET_RETRIES --inet"
-GETURI2="wget -c -nd -t$WGET_RETRIES --inet"
+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"
 GETLOCAL="cp -a"
 
 if (rpm --version 2>&1 | grep -q '4.0.[0-2]'); then
This page took 0.0611429999999999 seconds and 4 git commands to generate.