mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-16 13:16:47 +02:00
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:
+2
-2
@@ -39,8 +39,8 @@ mksha512sum()
|
|||||||
|
|
||||||
rmgit()
|
rmgit()
|
||||||
{
|
{
|
||||||
x_ find "$1" -name ".git" -exec rm -Rf {} +
|
fx_ "x_ rm -Rf" x_ find "$1" -name ".git"
|
||||||
x_ find "$1" -name ".gitmodules" -exec rm -Rf {} +
|
fx_ "x_ rm -Rf" x_ find "$1" -name ".gitmodules"
|
||||||
}
|
}
|
||||||
|
|
||||||
# can grab from the internet, or copy locally.
|
# can grab from the internet, or copy locally.
|
||||||
|
|||||||
Reference in New Issue
Block a user