mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-10 20:43:48 -05:00
ignore non files
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user