diff --git a/bin/pyenv-virtualenv b/bin/pyenv-virtualenv index a0956c7..3e3aa19 100755 --- a/bin/pyenv-virtualenv +++ b/bin/pyenv-virtualenv @@ -467,7 +467,7 @@ if [ -z "${GET_PIP_URL}" ]; then unset PIP_VERSION else # Use custom get-pip URL based on the target version (#1127) - case "${DEFINITION_PATH##*/}" in + case "${PYENV_VERSION}" in 2.6 | 2.6.* ) GET_PIP_URL="https://bootstrap.pypa.io/2.6/get-pip.py" ;;