From b8eb7d1a0bae9bd98ecf4d7e1f30488f22a795ba Mon Sep 17 00:00:00 2001 From: Vishal Bhoj Date: Fri, 14 Mar 2014 19:58:12 +0530 Subject: clean up after flattening Signed-off-by: Vishal Bhoj --- build-scripts/helpers | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build-scripts/helpers b/build-scripts/helpers index 80b09dd..89b02d3 100644 --- a/build-scripts/helpers +++ b/build-scripts/helpers @@ -142,6 +142,8 @@ download_another_build () { flatten_artifacts () { if [ "$FLATTEN_ARTIFACTS" != "0" ]; then cp -r out/target/product/$TARGET_OUT_DIR/* out/ + rm -rf out/target/product/$TARGET_OUT_DIR/*.bz2 + rm -rf out/target/product/$TARGET_OUT_DIR/*.img fi } -- cgit v1.2.3