lib.sh: use fx_ in rmgit()

with fx_, i have more much granular control over
how errors are handled.

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-05-12 13:21:59 +01:00
parent 0911a5a5ae
commit 3879f6c4d8
+2 -2
View File
@@ -39,8 +39,8 @@ mksha512sum()
rmgit()
{
x_ find "$1" -name ".git" -exec rm -Rf {} +
x_ find "$1" -name ".gitmodules" -exec rm -Rf {} +
fx_ "x_ rm -Rf" x_ find "$1" -name ".git"
fx_ "x_ rm -Rf" x_ find "$1" -name ".gitmodules"
}
# can grab from the internet, or copy locally.