summaryrefslogtreecommitdiffstats
path: root/scripts/lib
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-02-22 11:34:15 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-28 11:32:59 +0000
commite2334e126f163f10a8dace110a240ddaafb99dc5 (patch)
treeff1b5fb1dd500c3e673ed4ba47a317d193ad46ed /scripts/lib
parent55ae56687a39287328ee8b8bd5496f164f617c6b (diff)
downloadpoky-e2334e126f163f10a8dace110a240ddaafb99dc5.tar.gz
devtool: add: tweak auto-determining name failure message
As suggested by Khem Raj. (From OE-Core rev: 36cc6b81d0281348a0f241a80ddd427745a6a678) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@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 f2beb6f2f2..b707e6e9eb 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -151,7 +151,7 @@ def add(args, config, basepath, workspace):
151 stdout, _ = exec_build_env_command(config.init_path, basepath, 'recipetool --color=%s create -o %s "%s" %s' % (color, tempdir, source, extracmdopts)) 151 stdout, _ = exec_build_env_command(config.init_path, basepath, 'recipetool --color=%s create -o %s "%s" %s' % (color, tempdir, source, extracmdopts))
152 except bb.process.ExecutionError as e: 152 except bb.process.ExecutionError as e:
153 if e.exitcode == 15: 153 if e.exitcode == 15:
154 raise DevtoolError('Unable to auto-determine recipe name from source tree, please specify it on the command line') 154 raise DevtoolError('Could not auto-determine recipe name, please specify it on the command line')
155 else: 155 else:
156 raise DevtoolError('Command \'%s\' failed:\n%s' % (e.command, e.stdout)) 156 raise DevtoolError('Command \'%s\' failed:\n%s' % (e.command, e.stdout))
157 157