mirror of
https://github.com/lineageos4microg/docker-lineage-cicd
synced 2024-11-09 10:09:56 +01:00
don't crash when removing overlay directories fails
This commit is contained in:
parent
aedf81e9b7
commit
6280708eae
@ -401,7 +401,7 @@ for branch in ${BRANCH_NAME//,/ }; do
|
||||
echo ">> [$(date)] Cleaning source dir for device $codename" | tee -a "$DEBUG_LOG"
|
||||
if [ "$BUILD_OVERLAY" = true ]; then
|
||||
cd "$TMP_DIR"
|
||||
rm -rf ./*
|
||||
rm -rf ./* || true
|
||||
else
|
||||
cd "$source_dir"
|
||||
(set +eu ; mka "${jobs_arg[@]}" clean) &>> "$DEBUG_LOG"
|
||||
|
Loading…
Reference in New Issue
Block a user