diff --git a/libexec/pyenv-global b/libexec/pyenv-global index b2ea4b6d..102e082a 100755 --- a/libexec/pyenv-global +++ b/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 diff --git a/libexec/pyenv-local b/libexec/pyenv-local index 529cbf01..b6536050 100755 --- a/libexec/pyenv-local +++ b/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