aboutsummaryrefslogtreecommitdiffstats
path: root/bin/bitbake-layers
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:30 +0000
commit1c743fd2103730e27699dd55efc6914d3b0c3702 (patch)
tree16d0119e4e5cbb7998bb261bf4a247e39f0b2539 /bin/bitbake-layers
parent10a47b1ec7470c9e8c4ffe0bb35cdf6d1bb2ee2e (diff)
downloadbitbake-1c743fd2103730e27699dd55efc6914d3b0c3702.tar.gz
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 Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin/bitbake-layers')
-rwxr-xr-xbin/bitbake-layers2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bitbake-layers b/bin/bitbake-layers
index edb4d2f03..98794981a 100755
--- a/bin/bitbake-layers
+++ b/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):