diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/data.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py index fac57da71d..70ba56b48a 100644 --- a/bitbake/lib/bb/data.py +++ b/bitbake/lib/bb/data.py | |||
@@ -227,6 +227,7 @@ def emit_var(var, o=sys.__stdout__, d = init(), all=False): | |||
227 | 227 | ||
228 | if func: | 228 | if func: |
229 | # NOTE: should probably check for unbalanced {} within the var | 229 | # NOTE: should probably check for unbalanced {} within the var |
230 | val = val.rstrip('\n') | ||
230 | o.write("%s() {\n%s\n}\n" % (varExpanded, val)) | 231 | o.write("%s() {\n%s\n}\n" % (varExpanded, val)) |
231 | return 1 | 232 | return 1 |
232 | 233 | ||