From a0705cb86ef808f260bb30df2971337100ea4693 Mon Sep 17 00:00:00 2001 From: Yamashita Yuu Date: Mon, 28 Jan 2013 12:53:18 +0900 Subject: [PATCH] fix shell syntax error. add missing `then'. --- libexec/pyenv-sh-shell | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/pyenv-sh-shell b/libexec/pyenv-sh-shell index 1121238a..ef30c49a 100755 --- a/libexec/pyenv-sh-shell +++ b/libexec/pyenv-sh-shell @@ -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