Remove check for directories with -a

Type of source is checked later anyway and using
ls -p1 results in "dir/", which we should cleanup
with "sed 's;/$;;' again, which is ugly.

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
Nico Schottelius 2009-07-23 17:56:41 +02:00
parent 8a87e7effa
commit ed30a4d25b

View file

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