build: simplify deletions in fetch_trees()

Signed-off-by: Leah Rowe <leah@libreboot.org>
20240612_branch
Leah Rowe 2024-05-15 02:56:58 +01:00
parent 39df62301d
commit ee2bf0d25a
1 changed files with 1 additions and 2 deletions

3
build
View File

@ -200,10 +200,9 @@ fetch_trees()
$err "!rm -Rf \"src/${xp}/${xp}\""
done
rm -f src/u-boot/*/test/lib/strlcat.c || $err "$_xm: rm strlcat"
find . -name ".git" -exec rm -Rf {} + || $err "$_xm: rm .git"
find . -name ".gitmodules" -exec rm -Rf {} + || $err "$_xm: rm .gitmod"
x_ rm -Rf tmp .git
rm -Rf tmp .git src/u-boot/*/test/lib/strlcat.c || $err "$_xm !rm"
}
lbmk_exit()