lib.sh: remove rmgit()

We don't need to call it from git.sh, because it's
only being done when building a release anyway,
and we already run rmgit when doing a release.

The function itself is only two simple fx_ calls,
so we can just do that from build_release().

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-05-12 19:20:50 +01:00
parent 05b5914b35
commit 92954eeb38
3 changed files with 2 additions and 10 deletions
+2 -1
View File
@@ -37,7 +37,8 @@ build_release()
x_ cd "$relsrcdir"
x_ ./mk -f
rmgit .
fx_ "x_ rm -Rf" x_ find . -name ".git"
fx_ "x_ rm -Rf" x_ find . -name ".gitmodules"
x_ mv src/docs docs
) || err "can't create release files"