From 36cc6b81d0281348a0f241a80ddd427745a6a678 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Mon, 22 Feb 2016 11:34:15 +1300 Subject: devtool: add: tweak auto-determining name failure message As suggested by Khem Raj. Signed-off-by: Paul Eggleton Signed-off-by: Ross Burton --- 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 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): 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)) -- cgit 1.2.3-korg