From 89a49e2b37a9fdd64986b29a1549798369759653 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz <me@kennethreitz.org> Date: Wed, 3 May 2017 14:40:23 -0400 Subject: [PATCH] add retry to curl --- bin/utils | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/utils b/bin/utils index 6d16aac6..a6b41807 100755 --- a/bin/utils +++ b/bin/utils @@ -3,7 +3,7 @@ shopt -s extglob # The standard library. if [[ ! -f /tmp/stdlib.sh ]]; then - curl -s https://raw.githubusercontent.com/heroku/buildpack-stdlib/v2/stdlib.sh > /tmp/stdlib.sh + curl --retry 3 -s https://raw.githubusercontent.com/heroku/buildpack-stdlib/v2/stdlib.sh > /tmp/stdlib.sh fi source /tmp/stdlib.sh -- GitLab