summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild5
1 files changed, 1 insertions, 4 deletions
diff --git a/build b/build
index 748ff4f0..74ea1de6 100755
--- a/build
+++ b/build
@@ -117,10 +117,7 @@ fetch_trees()
{
for x in $(items config/git); do
./update trees -f "$x" || $err "$_xm: fetch $x"
- done
- for x in config/*/build.list; do
- [ -f "$x" ] && xp="${x#*/}" && xp="${xp%/*}"
- [ ! -f "$x" ] || [ -L "$xp" ] || x_ rm -Rf "src/$xp/$xp"
+ singletree "$x" || x_ rm -Rf "src/$x/$x"
done
rmgit .
}