mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-26 02:04:09 +00: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
|
||||
hit_prefix=""
|
||||
miss_prefix=""
|
||||
IFS=: current_versions=()
|
||||
current_versions=()
|
||||
version_origin=""
|
||||
include_system=""
|
||||
else
|
||||
hit_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))"
|
||||
include_system="1"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue