瀏覽代碼

Use consistent quoting for `versions=("$@")` across bins

pull/254/head
Daniel Hahler 12 年之前
父節點
當前提交
9901c4b84d
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      libexec/pyenv-global
  2. +1
    -1
      libexec/pyenv-local

+ 1
- 1
libexec/pyenv-global 查看文件

@ -21,7 +21,7 @@ if [ "$1" = "--complete" ]; then
exec pyenv-versions --bare
fi
versions=($@)
versions=("$@")
PYENV_VERSION_FILE="${PYENV_ROOT}/version"
if [ -n "$versions" ]; then

+ 1
- 1
libexec/pyenv-local 查看文件

@ -33,7 +33,7 @@ if [ "$1" = "--complete" ]; then
exec pyenv-versions --bare
fi
versions=($@)
versions=("$@")
if [ "$versions" = "--unset" ]; then
rm -f .python-version .pyenv-version

Loading…
取消
儲存