aboutsummaryrefslogtreecommitdiffstats
path: root/bitbake/bin
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2014-12-29 11:14:26 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-30 09:21:42 +0000
commitb264f5629b4c9399c6e8e298121c6dba424b95fe (patch)
treeda1515534963cd852de1abadb308dbcd761969a1 /bitbake/bin
parent6dde745bf90d9f9e52af3779df28879d91cbc64c (diff)
downloadopenembedded-core-contrib-b264f5629b4c9399c6e8e298121c6dba424b95fe.tar.gz
bitbake: bitbake-layers: fix error handling in add-layer / remove-layer
* Fix add-layer error message when a layer is already in BBLAYERS * Ensure we show an error message if we can't find BBLAYERS at all (Bitbake rev: 1c743fd2103730e27699dd55efc6914d3b0c3702) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-xbitbake/bin/bitbake-layers2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake-layers b/bitbake/bin/bitbake-layers
index edb4d2f03a..98794981a0 100755
--- a/bitbake/bin/bitbake-layers
+++ b/bitbake/bin/bitbake-layers
@@ -130,7 +130,7 @@ usage: add-layer <layerdir>
(notadded, _) = bb.utils.edit_bblayers_conf(bblayers_conf, layerdir, None)
if notadded:
for item in notadded:
- sys.stderr.write("Specified layer %s not in BBLAYERS\n" % item)
+ sys.stderr.write("Specified layer %s is already in BBLAYERS\n" % item)
def do_remove_layer(self, dirname):