summaryrefslogtreecommitdiff
path: root/scripts/lib
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-22 18:12:54 +0100
commit670bd063a5e0cdf89ea8d1f763af980d7e63d38a (patch)
tree11892aee655719956ace14c1a91863226a75612d /scripts/lib
parent0c3f289576a2ab35b1d1d8854d6763553cc3bf09 (diff)
downloadopenembedded-core-670bd063a5e0cdf89ea8d1f763af980d7e63d38a.tar.gz
openembedded-core-670bd063a5e0cdf89ea8d1f763af980d7e63d38a.tar.bz2
openembedded-core-670bd063a5e0cdf89ea8d1f763af980d7e63d38a.zip
devtool: add: ensure --color=never turns off recipetool colour output
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
-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):
else:
bp = args.recipename
recipefile = os.path.join(recipedir, "%s.bb" % bp)
- if sys.stdout.isatty():
+ if args.color == 'auto' and sys.stdout.isatty():
color = 'always'
else:
color = args.color