]> code.ossystems Code Review - openembedded-core.git/commitdiff
devtool: add: tweak auto-determining name failure message
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Sun, 21 Feb 2016 22:34:15 +0000 (11:34 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Feb 2016 11:32:35 +0000 (11:32 +0000)
As suggested by Khem Raj.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/devtool/standard.py

index f2beb6f2f2df1c1520b0239d38e19d56cf4b27a7..b707e6e9ebcfe83283e0d741a20e5f8f49e6c5ff 100644 (file)
@@ -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))