mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +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()
|
||||
{
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user