From 9d40027253708a89fcccce663019564fa059dca1 Mon Sep 17 00:00:00 2001 From: Pete Fotheringham Date: Sat, 26 Oct 2024 18:02:49 +0100 Subject: [PATCH] Remove `out` directory instead of calling `mka clean` --- src/new_build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/new_build.sh b/src/new_build.sh index 331e529..a360bec 100755 --- a/src/new_build.sh +++ b/src/new_build.sh @@ -81,7 +81,8 @@ do_cleanup() { rm -rf ./* || true else cd "$source_dir" - (set +eu ; mka "${jobs_arg[@]}" clean) &>> "$DEBUG_LOG" + echo ">> [$(date)] Removing $PWD/out" | tee -a "$DEBUG_LOG" + rm -rf out || true echo ">> [$(date)] Removing $PWD/vendor" | tee -a "$DEBUG_LOG" rm -rf vendor/* || true echo ">> [$(date)] Removing $PWD/.repo/local_manifests/roomservice.xml" | tee -a "$DEBUG_LOG"