From 2f7e4d0636ce1647edf2d82c65b82be0eb2c1db1 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 29 Jun 2016 11:58:18 +0100 Subject: oeqa/utils/commands: fix single-character variable matching in get_bb_vars() Signed-off-by: Ross Burton --- meta/lib/oeqa/utils/commands.py | 4 ++-- 1 file 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[a-zA-Z]\w+)="(?P.*)"$') - unset_re = re.compile(r'^unset (?P[a-zA-Z]\w+)$') + var_re = re.compile(r'^(export )?(?P\w+)="(?P.*)"$') + unset_re = re.compile(r'^unset (?P\w+)$') lastline = None values = {} for line in bbenv.splitlines(): -- cgit 1.2.3-korg