ソースを参照

fix inverted result of checking version existence (refs #7)

pull/10/head
Yamashita Yuu 13年前
コミット
ea7dc5f1e1
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      libexec/pyenv-version-name

+ 1
- 1
libexec/pyenv-version-name ファイルの表示

@ -25,7 +25,7 @@ version_exists() {
for version in "${versions[@]}"; do
PYENV_VERSION_PATH="${PYENV_ROOT}/versions/${version}"
if [ "$version" != "system" ] && version_exists "$version"; then
if [ "$version" != "system" ] && ! version_exists "$version"; then
echo "pyenv: version \`$version' is not installed" >&2
exit 1
fi

読み込み中…
キャンセル
保存