build: simplified downloads in fetch_trees()

Signed-off-by: Leah Rowe <leah@libreboot.org>
20240612_branch
Leah Rowe 2024-05-15 03:39:28 +01:00
parent 914ff1ad12
commit 8e05399d91
1 changed files with 2 additions and 3 deletions

5
build
View File

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