summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-05-15 03:39:28 +0100
committerLeah Rowe <leah@libreboot.org>2024-05-15 03:39:28 +0100
commit8e05399d9114efc422e75bfc477887013c6840df (patch)
tree69222d74b7a4b68cd3104370c52fd2636940ea89
parent914ff1ad12487eac7a65f885fc24cc00f0073b29 (diff)
build: simplified downloads in fetch_trees()
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xbuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/build b/build
index 4dec3734..6d720f86 100755
--- a/build
+++ b/build
@@ -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