Use new style GH raw url to avoid redirects (raw.github.com -> raw.githubusercontent.com)

This commit is contained in:
Yamashita Yuu
2014-04-30 11:52:15 +09:00
parent 579f4784c8
commit 3f5171e2fc

View File

@@ -181,9 +181,9 @@ install_pip() {
else else
[ -n "${GET_PIP_URL}" ] || { [ -n "${GET_PIP_URL}" ] || {
if [ -n "${PIP_VERSION}" ]; then if [ -n "${PIP_VERSION}" ]; then
GET_PIP_URL="https://raw.github.com/pypa/pip/${PIP_VERSION}/contrib/get-pip.py" GET_PIP_URL="https://raw.githubusercontent.com/pypa/pip/${PIP_VERSION}/contrib/get-pip.py"
else else
GET_PIP_URL="https://raw.github.com/pypa/pip/master/contrib/get-pip.py" GET_PIP_URL="https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py"
fi fi
} }
if [ -n "$VERBOSE" ]; then if [ -n "$VERBOSE" ]; then