1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-10 04:23:47 -05:00

fix build of 3.4-dev. append existing 3.4 at the last.

this is because `hg` (which is a dependency of *-dev build) might be
installed in existing pyenv versions.
This commit is contained in:
Yamashita Yuu
2013-06-19 18:44:57 +09:00
parent cc9c72747a
commit 583f3b0e21
2 changed files with 4 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
# Python 3.4 requires "python3.4" to be executable if it is in ${PATH}.
if ! pyenv-which python3.4 1>/dev/null 2>&1; then
if pyenv-whence python3.4 1>/dev/null 2>&1; then
export PYENV_VERSION="$(pyenv-whence python3.4 2>/dev/null | tail -1)"
export PYENV_VERSION="$(pyenv-version-name):$(pyenv-whence python3.4 2>/dev/null | tail -1)"
fi
fi