1
0
mirror of https://github.com/lineageos4microg/docker-lineage-cicd synced 2024-11-09 10:09:56 +01:00

Remove out directory instead of calling mka clean

This commit is contained in:
Pete Fotheringham 2024-10-26 18:02:49 +01:00 committed by GitHub
parent b7838a1a55
commit 9d40027253
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -81,7 +81,8 @@ do_cleanup() {
rm -rf ./* || true rm -rf ./* || true
else else
cd "$source_dir" 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" echo ">> [$(date)] Removing $PWD/vendor" | tee -a "$DEBUG_LOG"
rm -rf vendor/* || true rm -rf vendor/* || true
echo ">> [$(date)] Removing $PWD/.repo/local_manifests/roomservice.xml" | tee -a "$DEBUG_LOG" echo ">> [$(date)] Removing $PWD/.repo/local_manifests/roomservice.xml" | tee -a "$DEBUG_LOG"