only consider directories as sources

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
Nico Schottelius 2009-07-01 17:09:30 +02:00
parent a9aad1ed8f
commit 09ed55a17e

View file

@ -197,7 +197,7 @@ if [ "${USE_ALL}" = 1 ]; then
# get entries from sources # get entries from sources
# #
cwd="$(pwd -P)" cwd="$(pwd -P)"
( cd "${CSOURCES}" && ls > "${TMP}" ); ret=$? ( cd "${CSOURCES}" && ls -p1 > "${TMP}" | grep '/$' ); ret=$?
[ "${ret}" -eq 0 ] || _exit_err "Listing of sources failed. Aborting." [ "${ret}" -eq 0 ] || _exit_err "Listing of sources failed. Aborting."