aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2014-03-13 12:02:41 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2014-03-13 12:06:33 +0530
commit80f01c0d19c6e80065a652c539efff46d0840c41 (patch)
tree50f825bce0b7d4ca431dd7378251cc3505a40189
parent05024ab8dada161933c65de6dc18dd2dbbeffad2 (diff)
Don't remove out/target dir
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rw-r--r--build-scripts/helpers3
1 files changed, 1 insertions, 2 deletions
diff --git a/build-scripts/helpers b/build-scripts/helpers
index d056ea8..9001b46 100644
--- a/build-scripts/helpers
+++ b/build-scripts/helpers
@@ -137,8 +137,7 @@ download_another_build () {
flatten_artifacts () {
if [ "$FLATTEN_ARTIFACTS" != "0" ]; then
- mv out/target/product/$TARGET_OUT_DIR/* out/
- rm -r out/target
+ cp -r out/target/product/$TARGET_OUT_DIR/* out/
fi
}