mirror of
https://github.com/lineageos4microg/docker-lineage-cicd
synced 2024-11-09 10:09:56 +01:00
Fix the cleaning logic of the out directory
This commit is contained in:
parent
ce4f043def
commit
f0ad560831
@ -39,7 +39,9 @@ if ! [ -z "$DEVICE_LIST" ]; then
|
||||
# If requested, clean the OUT dir in order to avoid clutter
|
||||
if [ "$CLEAN_OUTDIR" = true ]; then
|
||||
echo ">> [$(date)] Cleaning '$ZIP_DIR'"
|
||||
rm -Rf "$ZIP_DIR/*"
|
||||
cd $ZIP_DIR
|
||||
rm *
|
||||
cd $SRC_DIR
|
||||
fi
|
||||
|
||||
# Prepare the environment
|
||||
|
Loading…
Reference in New Issue
Block a user