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"