diff options
author | Ming Liu <peter.x.liu@external.atlascopco.com> | 2017-06-27 12:39:14 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-28 20:54:55 +0100 |
commit | 10cb4331caee4b960a6f9ad20023a4a4b69b684e (patch) | |
tree | 54474bf4ac5d630d03efb6764260c78b2e2b9d07 /scripts | |
parent | fb9cf84b1d537e2b8c26cd78f6ac27c55a7e79fc (diff) | |
download | openembedded-core-10cb4331caee4b960a6f9ad20023a4a4b69b684e.tar.gz openembedded-core-10cb4331caee4b960a6f9ad20023a4a4b69b684e.tar.bz2 openembedded-core-10cb4331caee4b960a6f9ad20023a4a4b69b684e.zip |
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@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/test-reexec | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/test-reexec b/scripts/test-reexec index 9eaa96e754..30e792c7d9 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 |