mirror of
https://github.com/pyenv/pyenv.git
synced 2026-09-10 07:36:16 -04:00
fix shell syntax error. add missing `then'.
This commit is contained in:
parent
fca31c4307
commit
a0705cb86e
|
|
@ -41,7 +41,7 @@ if [ "$versions" = "--unset" ]; then
|
|||
fi
|
||||
|
||||
# Make sure the specified version is installed.
|
||||
if pyenv-prefix "${versions[@]}" >/dev/null
|
||||
if pyenv-prefix "${versions[@]}" >/dev/null; then
|
||||
IFS=: PYENV_VERSION="${versions[*]}"
|
||||
echo "export PYENV_VERSION=\"${PYENV_VERSION}\""
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue