From 3879f6c4d8ff89b390ff64afbcec66ea17f41123 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 12 May 2025 13:21:59 +0100 Subject: lib.sh: use fx_ in rmgit() with fx_, i have more much granular control over how errors are handled. Signed-off-by: Leah Rowe --- include/lib.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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. -- cgit v1.2.1