浏览代码

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

正在加载...
取消
保存