[oe-commits] [openembedded-core] 27/28: scripts/test-reexec: fix several incomplete regexp
git at git.openembedded.org
git at git.openembedded.org
Wed Jun 28 19:56:31 UTC 2017
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master
in repository openembedded-core.
commit 10cb4331caee4b960a6f9ad20023a4a4b69b684e
Author: Ming Liu <peter.x.liu at external.atlascopco.com>
AuthorDate: Tue Jun 27 12:39:14 2017 +0200
scripts/test-reexec: fix several incomplete regexp
Some "=" are missing in the regexp, which leads it match multiple results
if the variables have overrides, for instance:
...
SSTATE_DIR="xxxx"
SSTATE_DIR_qemux86="yyyy"
...
it will match both of them without "=".
Signed-off-by: Ming Liu <peter.x.liu at external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
scripts/test-reexec | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/scripts/test-reexec b/scripts/test-reexec
index 9eaa96e..30e792c 100755
--- a/scripts/test-reexec
+++ b/scripts/test-reexec
@@ -38,9 +38,9 @@ mkdir -p $LOGS
function clearsstate {
target=$1
- sstate_dir=`bitbake $target -e | grep "^SSTATE_DIR" | cut -d "\"" -f 2`
- sstate_pkgspec=`bitbake $target -e | grep "^SSTATE_PKGSPEC" | cut -d "\"" -f 2`
- sstasks=`bitbake $target -e | grep "^SSTATETASKS" | cut -d "\"" -f 2`
+ sstate_dir=`bitbake $target -e | grep "^SSTATE_DIR=" | cut -d "\"" -f 2`
+ sstate_pkgspec=`bitbake $target -e | grep "^SSTATE_PKGSPEC=" | cut -d "\"" -f 2`
+ sstasks=`bitbake $target -e | grep "^SSTATETASKS=" | cut -d "\"" -f 2`
for sstask in $sstasks
do
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list