[OE-core] [PATCH 01/14] devtool: add: tweak auto-determining name failure message

Paul Eggleton paul.eggleton at linux.intel.com
Wed Feb 24 05:07:21 UTC 2016


As suggested by Khem Raj.

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
---
 scripts/lib/devtool/standard.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index daf18c9..bcf6520 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -150,7 +150,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))
 
-- 
2.5.0




More information about the Openembedded-core mailing list