X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=common%2Fscripts%2Fapplication-lifecycle.sh;fp=common%2Fscripts%2Fapplication-lifecycle.sh;h=26745306e9f2e895c2ce3b0efa6e4daf128a4a89;hb=1718c39f29f71b99d38065686770548f8e4333ee;hp=ee3d790616cd2a1b10386937d31d362d3876a605;hpb=4619ed83a8906fd6700850d70bf99d58bc9776ab;p=src%2Fqa-testdefinitions.git diff --git a/common/scripts/application-lifecycle.sh b/common/scripts/application-lifecycle.sh index ee3d790..2674530 100755 --- a/common/scripts/application-lifecycle.sh +++ b/common/scripts/application-lifecycle.sh @@ -123,7 +123,7 @@ inspect_wgt() { fi # the file naming convention is servicename.wgt # but some didnt respect it - export WGTSERVICENAME=$(grep '' config.xml | cut -d'>' -f2 | cut -d'<' -f1) + export WGTSERVICENAME=$(grep 'id=.*' config.xml | cut -d= -f2 | cut -d'"' -f2) if [ -z "$WGTSERVICENAME" ];then echo "WARN: failed to find name in config.xml, fallback to filename" export WGTSERVICENAME="$WGTNAME"