Unlike python-build, DEFINITION_PATH isn't available within pyenv-virtualenv

This commit is contained in:
Yamashita, Yuu
2018-03-29 01:01:16 +00:00
parent 894d4af8a3
commit 6a3172ff47

View File

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