summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-06-29 11:58:18 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-01 16:22:48 +0100
commit076a93eed73772c1f56eec2e56d3ca3b77b64f82 (patch)
tree10c11f1bc5e024451caa6db763070e670e9cb9fb
parent8f82db78a95fc0e174014797e6f232ae691b8eb4 (diff)
downloadopenembedded-core-contrib-076a93eed73772c1f56eec2e56d3ca3b77b64f82.tar.gz
openembedded-core-contrib-076a93eed73772c1f56eec2e56d3ca3b77b64f82.tar.bz2
openembedded-core-contrib-076a93eed73772c1f56eec2e56d3ca3b77b64f82.zip
oeqa/utils/commands: fix single-character variable matching in get_bb_vars()
(From OE-Core rev: 2f7e4d0636ce1647edf2d82c65b82be0eb2c1db1) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/utils/commands.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa/utils/commands.py
index eddcf1ac8f..418643a1a6 100644
--- a/meta/lib/oeqa/utils/commands.py
+++ b/meta/lib/oeqa/utils/commands.py
@@ -146,8 +146,8 @@ def get_bb_vars(variables=None, target=None, postconfig=None):
"""Get values of multiple bitbake variables"""
bbenv = get_bb_env(target, postconfig=postconfig)
- var_re = re.compile(r'^(export )?(?P<var>[a-zA-Z]\w+)="(?P<value>.*)"$')
- unset_re = re.compile(r'^unset (?P<var>[a-zA-Z]\w+)$')
+ var_re = re.compile(r'^(export )?(?P<var>\w+)="(?P<value>.*)"$')
+ unset_re = re.compile(r'^unset (?P<var>\w+)$')
lastline = None
values = {}
for line in bbenv.splitlines():