1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 13:09:50 +00: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:
Ross Burton
2016-06-29 11:58:18 +01:00
committed by Richard Purdie
parent 8f82db78a9
commit 076a93eed7
+2 -2
View File
@@ -146,8 +146,8 @@ def get_bb_vars(variables=None, target=None, postconfig=None):
"""Get values of multiple bitbake variables""" """Get values of multiple bitbake variables"""
bbenv = get_bb_env(target, postconfig=postconfig) bbenv = get_bb_env(target, postconfig=postconfig)
var_re = re.compile(r'^(export )?(?P<var>[a-zA-Z]\w+)="(?P<value>.*)"$') var_re = re.compile(r'^(export )?(?P<var>\w+)="(?P<value>.*)"$')
unset_re = re.compile(r'^unset (?P<var>[a-zA-Z]\w+)$') unset_re = re.compile(r'^unset (?P<var>\w+)$')
lastline = None lastline = None
values = {} values = {}
for line in bbenv.splitlines(): for line in bbenv.splitlines():