add retry to curl

This commit is contained in:
2017-05-03 14:40:23 -04:00
parent d39b8c19b2
commit 89a49e2b37
+1 -1
View File
@@ -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