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