aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2014-01-09 10:51:19 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2014-01-09 10:51:19 +0530
commitb1979204c9ef9d468e358d153ce9dd38d49d8d31 (patch)
tree15db48f76b0e6cacad45cfc0313d43c07be920e4
parent6b28a5e6e8c5a69a4c108e832846f26e7073e005 (diff)
downloadl-a-b-VPS-b1979204c9ef9d468e358d153ce9dd38d49d8d31.tar.gz
handle other build keywords coming as part of TARGET_PRODUCT
Change-Id: I56a75592e51c2200265273cd701d84c4de34df50 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rw-r--r--build-scripts/build-android2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-scripts/build-android b/build-scripts/build-android
index ab4b291..6a18746 100644
--- a/build-scripts/build-android
+++ b/build-scripts/build-android
@@ -135,7 +135,7 @@ else
fi
# Set TARGET_OUT_DIR since few TARGET_PRODUCT include "full_" keyword as well
-TARGET_OUT_DIR=`echo $TARGET_PRODUCT | sed "s/full_//g"`
+TARGET_OUT_DIR=`echo $TARGET_PRODUCT | sed "s/.*_//g"`
# Create filesystem images
if [ -n "$BUILD_FS_IMAGE" ]; then