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 <kenshin.choi@samsung.com>
. `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=""