BUGFIX: Fix --all handling

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
Nico Schottelius 2009-07-23 17:39:42 +02:00
parent 37dcda8e3b
commit debdd9d004
1 changed files with 1 additions and 2 deletions

View File

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