summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/standard.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-09-22 17:21:25 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-23 09:53:14 +0100
commit5d1a117f44bd78d97ebefb1539b18ac9e564e0fc (patch)
tree84b5d11292d4bb56640b8b84434c6e25a0655f8a /scripts/lib/devtool/standard.py
parentae788fbd46f8a83d4c1776eeb4457ed5bb61915f (diff)
downloadpoky-5d1a117f44bd78d97ebefb1539b18ac9e564e0fc.tar.gz
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>
Diffstat (limited to 'scripts/lib/devtool/standard.py')
-rw-r--r--scripts/lib/devtool/standard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index 018ef2a987..ec21b3c139 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -82,7 +82,7 @@ def add(args, config, basepath, workspace):
82 else: 82 else:
83 bp = args.recipename 83 bp = args.recipename
84 recipefile = os.path.join(recipedir, "%s.bb" % bp) 84 recipefile = os.path.join(recipedir, "%s.bb" % bp)
85 if sys.stdout.isatty(): 85 if args.color == 'auto' and sys.stdout.isatty():
86 color = 'always' 86 color = 'always'
87 else: 87 else:
88 color = args.color 88 color = args.color