aboutsummaryrefslogtreecommitdiff
path: root/build-scripts
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2014-03-05 09:29:22 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2014-03-05 09:33:10 +0530
commitf5f48c38b6c74a93829fe8e224eacc20ed3f51d7 (patch)
treed03a09f78b97085abfe79d0967f40f159af810e3 /build-scripts
parentfeef037c0fd77a0aa7ff0a3aef487f7ed1bcb371 (diff)
Fix the out dir location for target having multiple underscore
Change-Id: Ie3e2fd7495ec80c2295a607433ebeabea5e6d30b Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
Diffstat (limited to 'build-scripts')
-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 cbeb37a..8ec53fd 100644
--- a/build-scripts/build-android
+++ b/build-scripts/build-android
@@ -25,7 +25,7 @@ source "${BUILD_SCRIPT_ROOT}"/helpers
trap infrastructure_error ERR
# Set TARGET_OUT_DIR since few TARGET_PRODUCT include "full_" keyword as well
-export TARGET_OUT_DIR=`echo $TARGET_PRODUCT | sed "s/.*_//g"`
+export TARGET_OUT_DIR=`echo $TARGET_PRODUCT | sed 's/_/\n/;s/.*\n//'`
if [ -n "$BUILD_COPYCAT" ]; then