1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-18 00:03:45 -05:00

import trivial changes from rbenv 0.4.0

This commit is contained in:
Yamashita Yuu
2013-01-18 18:57:08 +09:00
parent 684f7b7f21
commit fca31c4307
12 changed files with 136 additions and 85 deletions

View File

@@ -37,11 +37,14 @@ fi
if [ "$versions" = "--unset" ]; then
echo "unset PYENV_VERSION"
exit 1
exit
fi
# Make sure the specified version is installed.
pyenv-prefix "${versions[@]}" >/dev/null
IFS=: PYENV_VERSION="${versions[*]}"
echo "export PYENV_VERSION=\"${PYENV_VERSION}\""
if pyenv-prefix "${versions[@]}" >/dev/null
IFS=: PYENV_VERSION="${versions[*]}"
echo "export PYENV_VERSION=\"${PYENV_VERSION}\""
else
echo "return 1"
exit 1
fi