From 5eb3a7ebb0093e588b9cc21fa10c1aa0cfabd1ce Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Wed, 11 Jun 2014 00:55:06 +0000 Subject: [PATCH] Retry for longer on failed cowbuilder operations There's really nothing to do but retry. --- debian/util.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/util.sh b/debian/util.sh index 6d395a784d..af89c9b3a9 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