build: simplified downloads in fetch_trees()

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit2-merge1
Leah Rowe 2024-05-15 03:39:28 +01:00 committed by Leah Rowe
parent 18d0e53480
commit c2baebc79a
1 changed files with 2 additions and 3 deletions

5
build
View File

@ -173,9 +173,8 @@ build_release()
fetch_trees() fetch_trees()
{ {
for x in config/git/*; do for x in $(items config/git); do
[ ! -f "${x}" ] || ./update trees -f "${x#config/git/}" || \ ./update trees -f "$x" || $err "$_xm: fetch $x"
$err "${_xm}: fetch ${x#config/git/}"
done done
for x in config/*/build.list; do for x in config/*/build.list; do