mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2026-09-11 15:56:28 -04:00
Use new style GH raw url to avoid redirects (raw.github.com -> raw.githubusercontent.com)
This commit is contained in:
parent
579f4784c8
commit
3f5171e2fc
|
|
@ -181,9 +181,9 @@ install_pip() {
|
|||
else
|
||||
[ -n "${GET_PIP_URL}" ] || {
|
||||
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
|
||||
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
|
||||
}
|
||||
if [ -n "$VERBOSE" ]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue