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

Replace make clean with rm -rf out/target/product/<codename>

`make clean` fails with a weird error
This commit is contained in:
Nicola Corna 2017-05-18 07:26:04 +02:00
parent 0cc32390fa
commit 57fd1379b8

@ -123,7 +123,7 @@ if ! [ -z "$DEVICE_LIST" ]; then
# Clean everything, in order to start fresh on next build
if [ "$CLEAN_AFTER_BUILD" = true ]; then
echo ">> [$(date)] Cleaning build for $codename" >> $DOCKER_LOG
make clean 2>&1 >&$DEBUG_LOG
rm -rf $SRC_DIR/out/target/product/$codename/
fi
echo ">> [$(date)] Finishing build for $codename" >> $DOCKER_LOG
fi