Change-Id: I60cf49e42133fd1237cb7728229e4aadaa7d9c54
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