From 8e05399d9114efc422e75bfc477887013c6840df Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Wed, 15 May 2024 03:39:28 +0100 Subject: build: simplified downloads in fetch_trees() Signed-off-by: Leah Rowe --- build | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'build') 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 -- cgit v1.2.1