aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2014-03-14 19:58:12 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2014-03-14 19:58:12 +0530
commitb8eb7d1a0bae9bd98ecf4d7e1f30488f22a795ba (patch)
tree10b5f144731bd8defae46d57ddb554096c55f95a
parent03d9345bb8057e2c708952e396b077216e616859 (diff)
clean up after flatteningHEADmaster
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rw-r--r--build-scripts/helpers2
1 files changed, 2 insertions, 0 deletions
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
}