mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
devtool: add: ensure --color=never turns off recipetool colour output
(From OE-Core rev: 670bd063a5e0cdf89ea8d1f763af980d7e63d38a) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ae788fbd46
commit
5d1a117f44
@@ -82,7 +82,7 @@ def add(args, config, basepath, workspace):
|
|||||||
else:
|
else:
|
||||||
bp = args.recipename
|
bp = args.recipename
|
||||||
recipefile = os.path.join(recipedir, "%s.bb" % bp)
|
recipefile = os.path.join(recipedir, "%s.bb" % bp)
|
||||||
if sys.stdout.isatty():
|
if args.color == 'auto' and sys.stdout.isatty():
|
||||||
color = 'always'
|
color = 'always'
|
||||||
else:
|
else:
|
||||||
color = args.color
|
color = args.color
|
||||||
|
|||||||
Reference in New Issue
Block a user