diff options
Diffstat (limited to 'bitbake')
-rwxr-xr-x | bitbake/bin/bitbake-getvar | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake-getvar b/bitbake/bin/bitbake-getvar index 53ab900693..8901f99ae2 100755 --- a/bitbake/bin/bitbake-getvar +++ b/bitbake/bin/bitbake-getvar | |||
@@ -55,6 +55,6 @@ if __name__ == "__main__": | |||
55 | if value is None and not args.ignore_undefined: | 55 | if value is None and not args.ignore_undefined: |
56 | sys.exit(f"The variable '{args.variable}' is not defined") | 56 | sys.exit(f"The variable '{args.variable}' is not defined") |
57 | if args.value: | 57 | if args.value: |
58 | print(str(value)) | 58 | print(str(value if value is not None else "")) |
59 | else: | 59 | else: |
60 | bb.data.emit_var(args.variable, d=d, all=True) | 60 | bb.data.emit_var(args.variable, d=d, all=True) |