From: Travis Cross Date: Wed, 11 Jun 2014 00:55:06 +0000 (+0000) Subject: Retry for longer on failed cowbuilder operations X-Git-Tag: v1.5.13~203 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afb4a20090c97203d165e4236914b7e49f2daa86;p=thirdparty%2Ffreeswitch.git Retry for longer on failed cowbuilder operations There's really nothing to do but retry. --- diff --git a/debian/util.sh b/debian/util.sh index 14dcddb77d..b01cf0a3e8 100755 --- a/debian/util.sh +++ b/debian/util.sh @@ -295,15 +295,15 @@ build_debs () { } if ! [ -d $cow_img ]; then announce "Creating base $distro-$arch image..." - local x=5 + local x=30 while ! cow --create; do - [ $x -lt 1 ] && break; sleep 60; x=$((x-1)) + [ $x -lt 1 ] && break; sleep 120; x=$((x-1)) done fi announce "Updating base $distro-$arch image..." - local x=5 + local x=30 while ! cow --update; do - [ $x -lt 1 ] && break; sleep 60; x=$((x-1)) + [ $x -lt 1 ] && break; sleep 120; x=$((x-1)) done announce "Building $distro-$arch DEBs from $dsc..." if $debug_hook; then