From 186c615640bc2eaeb408ea361dc81cfc9941b41b Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Fri, 25 Oct 2024 09:52:55 +0200 Subject: [PATCH] build/list: to avoid maintenance here assume this one thing Everything that's not a directory is a set. --- build/list.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/build/list.sh b/build/list.sh index 3657f5b..ed91f05 100644 --- a/build/list.sh +++ b/build/list.sh @@ -32,15 +32,12 @@ SELF=list . ./common.sh for ARG in ${*}; do - case ${ARG} in - aux|base|distfiles|kernel|packages|release|xtools) + if [ -d "${TARGETDIR}/${ARG}" ]; then + ls -lah ${TARGETDIR}/"${ARG}" + else SET=$(find_set "${ARG}") if [ -n "${SET}" ]; then tar -tf ${SET} fi - ;; - *) - ls -lah ${TARGETDIR}/"${ARG}" - ;; - esac + fi done