diff options
author | Ross Burton <ross.burton@intel.com> | 2016-06-29 11:58:18 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-01 16:08:53 +0100 |
commit | 2f7e4d0636ce1647edf2d82c65b82be0eb2c1db1 (patch) | |
tree | 81497bd3d74961f6501b55e6c5ae9cbfb9b5d1ff | |
parent | 358fa56efa2db2a5276a910676e2e6093fe2da0f (diff) | |
download | openembedded-core-2f7e4d0636ce1647edf2d82c65b82be0eb2c1db1.tar.gz openembedded-core-2f7e4d0636ce1647edf2d82c65b82be0eb2c1db1.tar.bz2 openembedded-core-2f7e4d0636ce1647edf2d82c65b82be0eb2c1db1.zip |
oeqa/utils/commands: fix single-character variable matching in get_bb_vars()
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r-- | meta/lib/oeqa/utils/commands.py | 4 |
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(): |