From: Youngsoo Choi Date: Thu, 26 Feb 2015 10:52:00 +0000 (+0900) Subject: fixup! Factor out common bits of build_mobile and build_tv scripts X-Git-Tag: submit/tizen/20201118.160233~1155 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e91d8a51545929848c04756a35d7f970313e2677;p=platform%2Fframework%2Fweb%2Fchromium-efl.git fixup! Factor out common bits of build_mobile and build_tv scripts When building chromium-efl with tizen v3.0 profile, The variable 'PROFILE_NAME' has been used without being set. Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=11596 Reviewed by: Antonio Gomes, venu musham Change-Id: I6974f6ad6fb036c3d31181078bc806eab25f699a Signed-off-by: Youngsoo Choi --- diff --git a/tizen_src/build/build_tv.sh b/tizen_src/build/build_tv.sh index ea8e7b0..147cc2a 100755 --- a/tizen_src/build/build_tv.sh +++ b/tizen_src/build/build_tv.sh @@ -2,6 +2,8 @@ . `dirname $0`/common.sh +PROFILE_NAME=$(echo "$@" | grep -Po "(?<=\-P\s)[^\s]*" || :) + EXTRA_PACK_OPTS="--extra-packs python-base-x86-arm,python-x86-arm,python-xml-x86-arm" if [ "$PROFILE_NAME" == "tztv_v3.0" ]; then EXTRA_PACK_OPTS=""