Browse Source

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

pull/23/head
Yamashita Yuu 10 years ago
parent
commit
3f5171e2fc
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      bin/pyenv-virtualenv

+ 2
- 2
bin/pyenv-virtualenv View File

@ -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…
Cancel
Save