diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/utils/commands.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa/utils/commands.py index 6acb24a2b7..aecf8cf5a8 100644 --- a/meta/lib/oeqa/utils/commands.py +++ b/meta/lib/oeqa/utils/commands.py | |||
@@ -149,7 +149,8 @@ def get_bb_vars(variables=None, target=None, postconfig=None): | |||
149 | """Get values of multiple bitbake variables""" | 149 | """Get values of multiple bitbake variables""" |
150 | bbenv = get_bb_env(target, postconfig=postconfig) | 150 | bbenv = get_bb_env(target, postconfig=postconfig) |
151 | 151 | ||
152 | variables = variables.copy() | 152 | if variables is not None: |
153 | variables = variables.copy() | ||
153 | var_re = re.compile(r'^(export )?(?P<var>\w+)="(?P<value>.*)"$') | 154 | var_re = re.compile(r'^(export )?(?P<var>\w+)="(?P<value>.*)"$') |
154 | unset_re = re.compile(r'^unset (?P<var>\w+)$') | 155 | unset_re = re.compile(r'^unset (?P<var>\w+)$') |
155 | lastline = None | 156 | lastline = None |