From 9a4524162111870308fcf3313b3e0cf5402f079f Mon Sep 17 00:00:00 2001 From: Alexander Block Date: Wed, 26 Jun 2019 06:26:49 +0200 Subject: [PATCH] Retry downloading of depends sources 3 times --- depends/funcs.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/depends/funcs.mk b/depends/funcs.mk index 15e404e42d..5c05a4e7c2 100644 --- a/depends/funcs.mk +++ b/depends/funcs.mk @@ -31,6 +31,8 @@ endef define fetch_file ( test -f $$($(1)_source_dir)/$(4) || \ ( $(call fetch_file_inner,$(1),$(2),$(3),$(4),$(5)) || \ + (sleep 5 && $(call fetch_file_inner,$(1),$(2),$(3),$(4),$(5))) || \ + (sleep 10 && $(call fetch_file_inner,$(1),$(2),$(3),$(4),$(5))) || \ $(call fetch_file_inner,$(1),$(FALLBACK_DOWNLOAD_PATH),$(3),$(4),$(5)))) endef