From c5e23a296c5fbf19500d2b7e56cd667d8487352c Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Fri, 6 Jul 2018 09:39:37 +0200 Subject: Add retry (3 times) when glide download fails Change-Id: I97d70664ed6e62831a70d46f721ed2024ee9b574 Signed-off-by: Sebastien Douheret --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3877ab7..bf711af 100644 --- a/Makefile +++ b/Makefile @@ -200,7 +200,7 @@ tools/glide: @test -f $(LOCAL_TOOLSDIR)/glide || { \ echo "Downloading glide"; \ mkdir -p $(LOCAL_TOOLSDIR); \ - curl --silent -L https://glide.sh/get | GOBIN=$(LOCAL_TOOLSDIR) sh; \ + curl --silent --connect-timeout 60 --retry 3 -L https://glide.sh/get | GOBIN=$(LOCAL_TOOLSDIR) sh; \ } .PHONY: tools/syncthing -- cgit 1.2.3-korg