build: simplify deletions in fetch_trees()

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit2-merge1
Leah Rowe 2024-05-15 02:56:58 +01:00 committed by Leah Rowe
parent 363ec7512c
commit c8bc797f31
1 changed files with 1 additions and 2 deletions

3
build
View File

@ -193,10 +193,9 @@ fetch_trees()
$err "!rm -Rf \"src/${xp}/${xp}\"" $err "!rm -Rf \"src/${xp}/${xp}\""
done 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 ".git" -exec rm -Rf {} + || $err "$_xm: rm .git"
find . -name ".gitmodules" -exec rm -Rf {} + || $err "$_xm: rm .gitmod" 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"
} }
cbmk_exit() cbmk_exit()