summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/build b/build
index 565d0ffa..fdb47947 100755
--- a/build
+++ b/build
@@ -157,8 +157,7 @@ fetch_trees()
[ ! -f "$x" ] || [ -L "$xp" ] || x_ rm -Rf "src/$xp/$xp"
done
- find . -name ".git" -exec rm -Rf {} + || $err "$_xm: rm .git"
- find . -name ".gitmodules" -exec rm -Rf {} + || $err "$_xm: rm .gitmod"
+ rmgit .
rm -Rf tmp .git src/u-boot/*/test/lib/strlcat.c || $err "$_xm !rm"
}