Procházet zdrojové kódy

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

pull/254/head
Daniel Hahler před 12 roky
rodič
revize
9901c4b84d
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +1
    -1
      libexec/pyenv-global
  2. +1
    -1
      libexec/pyenv-local

+ 1
- 1
libexec/pyenv-global Zobrazit soubor

@ -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 Zobrazit soubor

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

Načítá se…
Zrušit
Uložit