Parcourir la source

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

pull/23/head
Yamashita Yuu il y a 10 ans
Parent
révision
3f5171e2fc
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      bin/pyenv-virtualenv

+ 2
- 2
bin/pyenv-virtualenv Voir le fichier

@ -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

Chargement…
Annuler
Enregistrer