From 9737e400d062693ddde248b641c7cd7b3a73e469 Mon Sep 17 00:00:00 2001 From: Lukas Rusak Date: Tue, 15 Mar 2016 03:31:09 -0700 Subject: [PATCH] scripts/get: only try 3 times before giving up --- scripts/get | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/get b/scripts/get index bed917cd51..de2e0123d0 100755 --- a/scripts/get +++ b/scripts/get @@ -41,7 +41,7 @@ if [ -n "$PKG_URL" -a -n "$PKG_SOURCE_NAME" ]; then PACKAGE="$SOURCES/$1/$PKG_SOURCE_NAME" PACKAGE_MIRROR="$DISTRO_MIRROR/$PKG_NAME/$PKG_SOURCE_NAME" [ "$VERBOSE" != "yes" ] && WGET_OPT=-q - WGET_CMD="wget --timeout=30 --passive-ftp --no-check-certificate -c $WGET_OPT -O $SOURCES/$1/$PKG_SOURCE_NAME" + WGET_CMD="wget --timeout=30 --tries=3 --passive-ftp --no-check-certificate -c $WGET_OPT -O $SOURCES/$1/$PKG_SOURCE_NAME" NBWGET="1"