summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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