Browse code

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

Jenkins authored on 2015/01/29 15:51:52
Showing 1 changed files
... ...
@@ -43,7 +43,7 @@ function get_versions {
43 43
 
44 44
 function install_get_pip {
45 45
     if [[ ! -r $LOCAL_PIP ]]; then
46
-        curl -o $LOCAL_PIP $PIP_GET_PIP_URL || \
46
+        curl --retry 6 --retry-delay 5 -o $LOCAL_PIP $PIP_GET_PIP_URL || \
47 47
             die $LINENO "Download of get-pip.py failed"
48 48
     fi
49 49
     sudo -H -E python $LOCAL_PIP