Merge pull request #4292 from stefansaraev/wget-timeout

scripts/get: 900s is too much
This commit is contained in:
Stephan Raue 2015-08-30 14:07:48 +02:00
commit 42e6dbe32d

View File

@ -33,7 +33,7 @@ if [ -n "$PKG_URL" ]; then
PACKAGE="$SOURCES/$1/$SOURCE_NAME"
PACKAGE_MIRROR="$DISTRO_MIRROR/$PKG_NAME/$SOURCE_NAME"
[ "$VERBOSE" != "yes" ] && WGET_OPT=-q
WGET_CMD="wget --passive-ftp --no-check-certificate -c $WGET_OPT -P $SOURCES/$1"
WGET_CMD="wget --timeout=30 --passive-ftp --no-check-certificate -c $WGET_OPT -P $SOURCES/$1"
NBWGET="1"