Replace raw.github.com with raw.githubusercontent.com
raw.github.com now redirects to raw.githubusercontent.com and various curl commands are failing unless they include "-L". Change-Id: I07d9c2f9caa2abc82ffd57435335875df5fbc96f
This commit is contained in:
parent
13590a6239
commit
3cb6018573
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
# Install pip using get-pip
|
# Install pip using get-pip
|
||||||
EZ_SETUP_URL=https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
|
EZ_SETUP_URL=https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
|
||||||
PIP_GET_PIP_URL=https://raw.github.com/pypa/pip/master/contrib/get-pip.py
|
PIP_GET_PIP_URL=https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py
|
||||||
|
|
||||||
curl -O $EZ_SETUP_URL || wget $EZ_SETUP_URL
|
curl -O $EZ_SETUP_URL || wget $EZ_SETUP_URL
|
||||||
python ez_setup.py
|
python ez_setup.py
|
||||||
|
@ -158,7 +158,7 @@ def main():
|
|||||||
# cache get-pip, because upstream network connection fails more
|
# cache get-pip, because upstream network connection fails more
|
||||||
# often than you might imagine.
|
# often than you might imagine.
|
||||||
download(
|
download(
|
||||||
'https://raw.github.com/pypa/pip/master/contrib/get-pip.py',
|
'https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py',
|
||||||
'get-pip.py')
|
'get-pip.py')
|
||||||
|
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ for p in python-pip python3-pip ; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# install pip using get-pip
|
# install pip using get-pip
|
||||||
PIP_GET_PIP_URL=https://raw.github.com/pypa/pip/master/contrib/get-pip.py
|
PIP_GET_PIP_URL=https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py
|
||||||
if [ ! -f get-pip.py ] ; then
|
if [ ! -f get-pip.py ] ; then
|
||||||
curl -O $PIP_GET_PIP_URL || wget $PIP_GET_PIP_URL
|
curl -O $PIP_GET_PIP_URL || wget $PIP_GET_PIP_URL
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user