only consider directories as sources
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
a9aad1ed8f
commit
09ed55a17e
1 changed files with 1 additions and 1 deletions
|
@ -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."
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue