summaryrefslogtreecommitdiff
path: root/script/update
diff options
context:
space:
mode:
Diffstat (limited to 'script/update')
-rwxr-xr-xscript/update/project/release5
1 files changed, 5 insertions, 0 deletions
diff --git a/script/update/project/release b/script/update/project/release
index 69772415..a20703ac 100755
--- a/script/update/project/release
+++ b/script/update/project/release
@@ -93,6 +93,11 @@ fetch_trees()
for x in ${_f}; do
./update project trees -f "${x}" || err "${_xm}: fetch ${x}"
done
+ for x in config/*/build.list; do
+ [ -f "${x}" ] || continue
+ xp="${x#*/}"; xp="${xp%/*}"
+ [ -L "${xp}" ] || x_ rm -Rf "src/${xp}/${xp}"
+ done
rm -Rf */.git* */*/.git* */*/*/.git* */*/*/*/.git* */*/*/*/*/.git* \
*/*/*/*/*/*/.git* */*/*/*/*/*/*/.git* */*/*/*/*/*/*/*/.git* \
.git || err "${_xm}: rm-dotgit"