1
0
mirror of https://github.com/lineageos4microg/docker-lineage-cicd synced 2024-09-20 12:22:40 +02:00

Fix the cleaning logic of the out directory

This commit is contained in:
Julian Xhokaxhiu 2017-01-23 23:06:38 +01:00
parent ce4f043def
commit f0ad560831

View File

@ -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