Browse Source

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

pull/254/head
Daniel Hahler 12 years ago
parent
commit
9901c4b84d
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      libexec/pyenv-global
  2. +1
    -1
      libexec/pyenv-local

+ 1
- 1
libexec/pyenv-global View File

@ -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 View File

@ -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…
Cancel
Save