Merge "make curl fail on pypi errors"

This commit is contained in:
Jenkins 2015-10-08 18:04:31 +00:00 committed by Gerrit Code Review
commit c1561f84fb
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ function install_get_pip {
timecond="-z $LOCAL_PIP"
fi
curl --retry 6 --retry-delay 5 \
curl -f --retry 6 --retry-delay 5 \
$timecond -o $LOCAL_PIP $PIP_GET_PIP_URL || \
die $LINENO "Download of get-pip.py failed"
touch $LOCAL_PIP.downloaded