From c2baebc79aec35a45073f7ddebc4774ee20d4216 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Wed, 15 May 2024 03:39:28 +0100 Subject: [PATCH] build: simplified downloads in fetch_trees() Signed-off-by: Leah Rowe --- build | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build b/build index 154996d..45a57f4 100755 --- a/build +++ b/build @@ -173,9 +173,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