Merge "Switch on curl retry options for fetching get-pip.py"

This commit is contained in:
Jenkins 2015-01-29 06:51:52 +00:00 committed by Gerrit Code Review
commit 481d50d80c

View File

@ -43,7 +43,7 @@ function get_versions {
function install_get_pip {
if [[ ! -r $LOCAL_PIP ]]; then
curl -o $LOCAL_PIP $PIP_GET_PIP_URL || \
curl --retry 6 --retry-delay 5 -o $LOCAL_PIP $PIP_GET_PIP_URL || \
die $LINENO "Download of get-pip.py failed"
fi
sudo -H -E python $LOCAL_PIP