forked from ungleich-public/ccollect
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:
parent
8a87e7effa
commit
ed30a4d25b
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ if [ "${USE_ALL}" = 1 ]; then
|
||||||
#
|
#
|
||||||
# get entries from sources
|
# 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."
|
[ "${ret}" -eq 0 ] || _exit_err "Listing of sources failed. Aborting."
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue