mirror of
https://github.com/opnsense/tools.git
synced 2026-05-28 04:35:46 -04:00
build/list: to avoid maintenance here assume this one thing
Everything that's not a directory is a set.
This commit is contained in:
parent
450988e84b
commit
186c615640
1 changed files with 4 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue