summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-05-15 02:56:58 +0100
committerLeah Rowe <leah@libreboot.org>2024-05-15 02:56:58 +0100
commitee2bf0d25aafeb97379ec4b35fd6308fb07d8051 (patch)
tree24fc2cd5fea0725b85516107c9e33d3c3a812b90
parent39df62301d90257f384aaf931d012e4495aaf1c2 (diff)
build: simplify deletions in fetch_trees()
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xbuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/build b/build
index aefaadad..33b8ded4 100755
--- a/build
+++ b/build
@@ -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()