From 9901c4b84d1d896cdc5c19849a73a8af964de1e7 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Thu, 11 Sep 2014 12:59:40 +0200 Subject: [PATCH] Use consistent quoting for `versions=("$@")` across bins --- libexec/pyenv-global | 2 +- libexec/pyenv-local | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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