mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
should not declare IFS in toplevel
This commit is contained in:
parent
745bceac22
commit
1a6eb80bcd
1 changed files with 2 additions and 2 deletions
|
@ -10,13 +10,13 @@ set -e
|
||||||
if [ "$1" = "--bare" ]; then
|
if [ "$1" = "--bare" ]; then
|
||||||
hit_prefix=""
|
hit_prefix=""
|
||||||
miss_prefix=""
|
miss_prefix=""
|
||||||
IFS=: current_versions=()
|
current_versions=()
|
||||||
version_origin=""
|
version_origin=""
|
||||||
include_system=""
|
include_system=""
|
||||||
else
|
else
|
||||||
hit_prefix="* "
|
hit_prefix="* "
|
||||||
miss_prefix=" "
|
miss_prefix=" "
|
||||||
IFS=: current_versions=($(pyenv-version-name || true))
|
current_versions=($(IFS=:; for version in $(pyenv-version-name); do echo "$version"; done || true))
|
||||||
version_origin=" (set by $(pyenv-version-origin))"
|
version_origin=" (set by $(pyenv-version-origin))"
|
||||||
include_system="1"
|
include_system="1"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue