aboutsummaryrefslogtreecommitdiff
path: root/build-scripts/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'build-scripts/helpers')
-rw-r--r--build-scripts/helpers7
1 files changed, 7 insertions, 0 deletions
diff --git a/build-scripts/helpers b/build-scripts/helpers
index 6d3f762..698cd19 100644
--- a/build-scripts/helpers
+++ b/build-scripts/helpers
@@ -135,6 +135,13 @@ download_another_build () {
popd
}
+flatten_artifacts () {
+ if [ "$FLATTEN_ARTIFACTS" == "1" ]; then
+ mv out/target/product/$TARGET_PRODUCT/* out/
+ rm -r out/target
+ fi
+}
+
unpack_overlays () {
local ifs_save="$IFS"
IFS=";"