diff options
author | Leah Rowe <leah@libreboot.org> | 2025-05-12 13:21:59 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-05-12 13:21:59 +0100 |
commit | 3879f6c4d8ff89b390ff64afbcec66ea17f41123 (patch) | |
tree | 7290aaa010cad9853f5f81869ad72d122b2aa14c | |
parent | 0911a5a5aed9232f8f9d1685e0a12378f21e41fe (diff) |
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>
-rw-r--r-- | include/lib.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/lib.sh b/include/lib.sh index c69825e8..c0adc7a6 100644 --- a/include/lib.sh +++ b/include/lib.sh @@ -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. |