]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Retry for longer on failed cowbuilder operations
authorTravis Cross <tc@traviscross.com>
Wed, 11 Jun 2014 00:55:06 +0000 (00:55 +0000)
committerTravis Cross <tc@traviscross.com>
Wed, 11 Jun 2014 00:57:06 +0000 (00:57 +0000)
There's really nothing to do but retry.

debian/util.sh

index 6d395a784ddc2dfce026631556860b4ca5966f1f..af89c9b3a9018df64666ab98b181bafa20872aa0 100755 (executable)
@@ -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