glued-download-sources: added maximum 30 second timeout.

This commit is contained in:
Ricardo Martins 2014-08-07 15:23:20 +01:00
parent 10846e4f3d
commit 7ab772c363

View File

@ -47,7 +47,10 @@ find "$PKGS" -name '*.bash' | while read file; do
if [ "$fh" != "$m" ]; then if [ "$fh" != "$m" ]; then
nfo1 "Downloading $f" nfo1 "Downloading $f"
echo "" echo ""
wget -P "$DST" -4 -c "$u" wget \
--timeout=30 \
--tries 1 \
-P "$DST" -4 -c "$u"
echo "" echo ""
fi fi
let n++ let n++