Merge "Replace raw.github.com with raw.githubusercontent.com"

This commit is contained in:
Jenkins 2014-04-29 17:08:00 +00:00 committed by Gerrit Code Review
commit 6972af3762
3 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@
# Install pip using get-pip
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
python ez_setup.py

View File

@ -158,7 +158,7 @@ def main():
# cache get-pip, because upstream network connection fails more
# often than you might imagine.
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')

View File

@ -23,7 +23,7 @@ for p in python-pip python3-pip ; do
done
# 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
curl -O $PIP_GET_PIP_URL || wget $PIP_GET_PIP_URL
fi