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>
This commit is contained in:
parent
55ae56687a
commit
e2334e126f
|
@ -151,7 +151,7 @@ def add(args, config, basepath, workspace):
|
|||
stdout, _ = exec_build_env_command(config.init_path, basepath, 'recipetool --color=%s create -o %s "%s" %s' % (color, tempdir, source, extracmdopts))
|
||||
except bb.process.ExecutionError as e:
|
||||
if e.exitcode == 15:
|
||||
raise DevtoolError('Unable to auto-determine recipe name from source tree, please specify it on the command line')
|
||||
raise DevtoolError('Could not auto-determine recipe name, please specify it on the command line')
|
||||
else:
|
||||
raise DevtoolError('Command \'%s\' failed:\n%s' % (e.command, e.stdout))
|
||||
|
||||
|
|
Loading…
Reference in New Issue