fix shell syntax error. add missing `then'.

This commit is contained in:
Yamashita Yuu 2013-01-28 12:53:18 +09:00
parent fca31c4307
commit a0705cb86e

View file

@ -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