mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
fix shell syntax error. add missing `then'.
This commit is contained in:
parent
fca31c4307
commit
a0705cb86e
1 changed files with 1 additions and 1 deletions
|
@ -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