Fix pattern match for PyPy versions

This commit is contained in:
Yamashita, Yuu 2017-08-09 07:34:59 +00:00
parent 269a702321
commit 0cbfcf09d4

View file

@ -200,7 +200,7 @@ if [ -z "${PYENV_BOOTSTRAP_VERSION}" ]; then
done done
done done
;; ;;
"pypy-dev" | "pypy-"*"-src" | "pypy3-"*"-src" ) "pypy"*"-dev" | "pypy"*"-src" )
# PyPy/PyPy3 requires existing Python 2.7 to build # PyPy/PyPy3 requires existing Python 2.7 to build
if [ -n "${PYENV_RPYTHON_VERSION}" ]; then if [ -n "${PYENV_RPYTHON_VERSION}" ]; then
PYENV_BOOTSTRAP_VERSION="${PYENV_RPYTHON_VERSION}" PYENV_BOOTSTRAP_VERSION="${PYENV_RPYTHON_VERSION}"