summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorjosch <j.schauer@email.de>2015-02-07 12:48:40 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-07 12:50:40 +0100
commitdea177e5cc67d9084dc9d3330b01043423c2844d (patch)
tree7e8d592b3d9dd40a6a40f4fa513bceda4506d57a /bin
parent01f1e4b8130efdc5120b0c310ea453fa5734f9a7 (diff)
downloadjenkins.debian.net-dea177e5cc67d9084dc9d3330b01043423c2844d.tar.xz
bin/find_dpkg_trigger_cycles.sh: wait 10 seconds before retry
Diffstat (limited to 'bin')
-rwxr-xr-xbin/find_dpkg_trigger_cycles.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/find_dpkg_trigger_cycles.sh b/bin/find_dpkg_trigger_cycles.sh
index 3ba6ba60..3c4f7f9d 100755
--- a/bin/find_dpkg_trigger_cycles.sh
+++ b/bin/find_dpkg_trigger_cycles.sh
@@ -156,7 +156,7 @@ curl --globoff "http://binarycontrol.debian.net/?q=&path=${DIST}%2F[^%2F]%2B%2Ft
| while read pkg url; do
echo "working on $pkg..." >&2
tmpdir=`mktemp -d`
- ( curl --retry 2 --location --silent "$url" || ( echo "curl failed with exit $?">&2; exit 1 ) ) \
+ ( curl --retry 2 --retry-delay 10 --location --silent "$url" || ( echo "curl failed with exit $?">&2; exit 1 ) ) \
| dpkg-deb --ctrl-tarfile /dev/stdin \
| tar -C "$tmpdir" --exclude=./md5sums -x
if [ ! -f "$tmpdir/triggers" ]; then