ignore non files

This commit is contained in:
Yamashita Yuu 2012-10-23 17:55:55 +09:00
parent d09af20897
commit f878896a77

View file

@ -414,7 +414,7 @@ usage() {
list_definitions() {
{ for definition in "${PYTHON_BUILD_ROOT}/share/python-build/"*; do
echo "${definition##*/}"
test -f "${definition}" && echo "${definition##*/}"
done
} | sort
}