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:55:09 +0100 |
commit | 9c001dc9eb3f5e334276beee5b92b51e9633f12b (patch) | |
tree | bca65292e997f363b23ffbdec0a100bb77d0b17d /scripts/test-reexec | |
parent | 4a040aa83f79fae203c39fe650f8b1ad504f5eae (diff) | |
download | poky-9c001dc9eb3f5e334276beee5b92b51e9633f12b.tar.gz |
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 "=".
(From OE-Core rev: 10cb4331caee4b960a6f9ad20023a4a4b69b684e)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/test-reexec')
-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 | |||
38 | function clearsstate { | 38 | function clearsstate { |
39 | target=$1 | 39 | target=$1 |
40 | 40 | ||
41 | sstate_dir=`bitbake $target -e | grep "^SSTATE_DIR" | cut -d "\"" -f 2` | 41 | sstate_dir=`bitbake $target -e | grep "^SSTATE_DIR=" | cut -d "\"" -f 2` |
42 | sstate_pkgspec=`bitbake $target -e | grep "^SSTATE_PKGSPEC" | cut -d "\"" -f 2` | 42 | sstate_pkgspec=`bitbake $target -e | grep "^SSTATE_PKGSPEC=" | cut -d "\"" -f 2` |
43 | sstasks=`bitbake $target -e | grep "^SSTATETASKS" | cut -d "\"" -f 2` | 43 | sstasks=`bitbake $target -e | grep "^SSTATETASKS=" | cut -d "\"" -f 2` |
44 | 44 | ||
45 | for sstask in $sstasks | 45 | for sstask in $sstasks |
46 | do | 46 | do |