BUGFIX: Fix --all handling
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
37dcda8e3b
commit
debdd9d004
1 changed files with 1 additions and 2 deletions
|
@ -198,8 +198,7 @@ if [ "${USE_ALL}" = 1 ]; then
|
||||||
#
|
#
|
||||||
# get entries from sources
|
# get entries from sources
|
||||||
#
|
#
|
||||||
cwd="$(pwd -P)"
|
( cd "${CSOURCES}" && ls -p1 | grep '/$' > "${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