mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 12:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
8f82db78a9
commit
076a93eed7
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user