build/list: to avoid maintenance here assume this one thing

Everything that's not a directory is a set.
This commit is contained in:
Franco Fichtner 2024-10-25 09:52:55 +02:00
parent 450988e84b
commit 186c615640

View file

@ -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