mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-08 11:33:55 -05:00
Use new style GH raw url to avoid redirects (raw.github.com -> raw.githubusercontent.com)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user