summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/utils/commands.py
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 /meta/lib/oeqa/utils/commands.py
parent8f82db78a95fc0e174014797e6f232ae691b8eb4 (diff)
downloadpoky-076a93eed73772c1f56eec2e56d3ca3b77b64f82.tar.gz
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>
Diffstat (limited to 'meta/lib/oeqa/utils/commands.py')
-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):
146 """Get values of multiple bitbake variables""" 146 """Get values of multiple bitbake variables"""
147 bbenv = get_bb_env(target, postconfig=postconfig) 147 bbenv = get_bb_env(target, postconfig=postconfig)
148 148
149 var_re = re.compile(r'^(export )?(?P<var>[a-zA-Z]\w+)="(?P<value>.*)"$') 149 var_re = re.compile(r'^(export )?(?P<var>\w+)="(?P<value>.*)"$')
150 unset_re = re.compile(r'^unset (?P<var>[a-zA-Z]\w+)$') 150 unset_re = re.compile(r'^unset (?P<var>\w+)$')
151 lastline = None 151 lastline = None
152 values = {} 152 values = {}
153 for line in bbenv.splitlines(): 153 for line in bbenv.splitlines():