summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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