From debdd9d004333c58c6a0762805a876188cd0864f Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 23 Jul 2009 17:39:42 +0200 Subject: [PATCH] BUGFIX: Fix --all handling Signed-off-by: Nico Schottelius --- ccollect.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ccollect.sh b/ccollect.sh index 13a3451..9e100c4 100755 --- a/ccollect.sh +++ b/ccollect.sh @@ -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."