diff options
Diffstat (limited to 'bitbake/lib/bb/command.py')
-rw-r--r-- | bitbake/lib/bb/command.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py index 5eb34aff3d..33a24406b5 100644 --- a/bitbake/lib/bb/command.py +++ b/bitbake/lib/bb/command.py | |||
@@ -153,7 +153,7 @@ class CommandsSync: | |||
153 | varname = params[0] | 153 | varname = params[0] |
154 | expand = True | 154 | expand = True |
155 | if len(params) > 1: | 155 | if len(params) > 1: |
156 | expand = params[1] | 156 | expand = (params[1] == "True") |
157 | 157 | ||
158 | return command.cooker.data.getVar(varname, expand) | 158 | return command.cooker.data.getVar(varname, expand) |
159 | getVariable.readonly = True | 159 | getVariable.readonly = True |
@@ -230,7 +230,8 @@ class CommandsSync: | |||
230 | var = params[0] | 230 | var = params[0] |
231 | val = params[1] | 231 | val = params[1] |
232 | default_file = params[2] | 232 | default_file = params[2] |
233 | command.cooker.saveConfigurationVar(var, val, default_file) | 233 | op = params[3] |
234 | command.cooker.modifyConfigurationVar(var, val, default_file, op) | ||
234 | 235 | ||
235 | def createConfigFile(self, command, params): | 236 | def createConfigFile(self, command, params): |
236 | """ | 237 | """ |