build/download: simplify

This commit is contained in:
Franco Fichtner 2023-02-07 07:49:53 +01:00
parent 604fc9f4c1
commit 3645ecdbc4
1 changed files with 2 additions and 10 deletions

View File

@ -41,13 +41,9 @@ for ARG in ${@}; do
case ${ARG} in
arm|dvd|nano|serial|vga|vm)
sh ./clean.sh ${ARG}
download ${ARG} ${IMAGESDIR} "*-${PRODUCT_FLAVOUR}-${ARG}-*"
download ${ARG} ${IMAGESDIR} "*-${ARG}-*"
;;
base|kernel)
sh ./clean.sh ${ARG}
download ${ARG} ${SETSDIR} "${ARG}-*"
;;
distfiles)
base|distfiles|kernel|packages|release)
sh ./clean.sh ${ARG}
download ${ARG} ${SETSDIR} "${ARG}-*"
;;
@ -59,9 +55,5 @@ for ARG in ${@}; do
sh ./clean.sh ${ARG}
download ${ARG} ${LOGSDIR} "[0-9]*"
;;
packages|release)
sh ./clean.sh ${ARG}
download ${ARG} ${SETSDIR} "${ARG}-*-${PRODUCT_FLAVOUR}-*"
;;
esac
done