summaryrefslogtreecommitdiff
path: root/scripts/lib/devtool
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:35 +0000
commit36cc6b81d0281348a0f241a80ddd427745a6a678 (patch)
tree5a0c947184ecdd5176abc91048d9c6033ddc572f /scripts/lib/devtool
parent99ae0859ba5fa83c9cfd75a814f8281624e8987e (diff)
downloadopenembedded-core-36cc6b81d0281348a0f241a80ddd427745a6a678.tar.gz
openembedded-core-36cc6b81d0281348a0f241a80ddd427745a6a678.tar.bz2
openembedded-core-36cc6b81d0281348a0f241a80ddd427745a6a678.zip
devtool: add: tweak auto-determining name failure message
As suggested by Khem Raj. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/devtool')
-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):
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))