mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
ignore non files
This commit is contained in:
parent
d09af20897
commit
f878896a77
1 changed files with 1 additions and 1 deletions
|
@ -414,7 +414,7 @@ usage() {
|
||||||
|
|
||||||
list_definitions() {
|
list_definitions() {
|
||||||
{ for definition in "${PYTHON_BUILD_ROOT}/share/python-build/"*; do
|
{ for definition in "${PYTHON_BUILD_ROOT}/share/python-build/"*; do
|
||||||
echo "${definition##*/}"
|
test -f "${definition}" && echo "${definition##*/}"
|
||||||
done
|
done
|
||||||
} | sort
|
} | sort
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue