aboutsummaryrefslogtreecommitdiff
path: root/build-scripts/build-android
diff options
context:
space:
mode:
Diffstat (limited to 'build-scripts/build-android')
-rw-r--r--build-scripts/build-android6
1 files changed, 3 insertions, 3 deletions
diff --git a/build-scripts/build-android b/build-scripts/build-android
index 6a18746..b7ea895 100644
--- a/build-scripts/build-android
+++ b/build-scripts/build-android
@@ -24,6 +24,9 @@ source "${BUILD_SCRIPT_ROOT}"/helpers
trap infrastructure_error ERR
+# Set TARGET_OUT_DIR since few TARGET_PRODUCT include "full_" keyword as well
+TARGET_OUT_DIR=`echo $TARGET_PRODUCT | sed "s/.*_//g"`
+
if [ -n "$BUILD_COPYCAT" ]; then
download_another_build "$BUILD_COPYCAT"
@@ -134,9 +137,6 @@ else
fi
-# Set TARGET_OUT_DIR since few TARGET_PRODUCT include "full_" keyword as well
-TARGET_OUT_DIR=`echo $TARGET_PRODUCT | sed "s/.*_//g"`
-
# Create filesystem images
if [ -n "$BUILD_FS_IMAGE" ]; then
FS_IMAGE_SIZE=${FS_IMAGE_SIZE-2G}