Do not regex profile for web app
authorHyokeun Jeon <hyokeun.jeon@samsung.com>
Tue, 1 Oct 2019 11:11:41 +0000 (20:11 +0900)
committerHyokeun Jeon <hyokeun.jeon@samsung.com>
Tue, 1 Oct 2019 11:11:41 +0000 (20:11 +0900)
Change-Id: I60cf49e42133fd1237cb7728229e4aadaa7d9c54

build-wgt.template

index 7f9509d..5d411db 100644 (file)
@@ -48,10 +48,10 @@ for i in "${arr[@]}"; do
 done
 echo $tizen_studio_distribution >> $SHARE_ROOT/tizen_studio_distribution
 
-rs_list=`su - build -c "tizen list rootstrap | grep ${PROFILE}-.*.core.private.* | cut -d ' ' -f 1"`
+rs_list=`su - build -c "tizen list rootstrap | grep .*.core.private.* | cut -d ' ' -f 1"`
 #FIXME: remove hard-coded expression
 if [ "${PROFILE}" = "da-hfp" ]; then
-  rs_list=`su - build -c "tizen list rootstrap | grep ${PROFILE}-.*device.core.private.* | cut -d ' ' -f 1"`
+  rs_list=`su - build -c "tizen list rootstrap | grep -.*device.core.private.* | cut -d ' ' -f 1"`
 fi
 echo $rs_list > $SHARE_ROOT/rsver
 if [[ ! $rs_list =~ [0-9]{8}_[0-9] ]]; then