1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-04-24 19:52:35 +00:00

Retry for longer on failed cowbuilder operations

There's really nothing to do but retry.
This commit is contained in:
Travis Cross 2014-06-11 00:55:06 +00:00
parent 8a4a8f6fb8
commit afb4a20090

8
debian/util.sh vendored

@ -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