aboutsummaryrefslogtreecommitdiffstats
path: root/bitbake/bin
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-08-19 14:20:08 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-19 18:05:49 +0100
commitc4989e7bf37838b3c734034b0c6e1084d6253dce (patch)
treece9053139ae6c282b3a35dd523ecce2f1a047ca6 /bitbake/bin
parent5807ab32667a9f88f629c33f57c621e38fd3b910 (diff)
downloadopenembedded-core-contrib-c4989e7bf37838b3c734034b0c6e1084d6253dce.tar.gz
bitbake: bitbake-layers: ensure we exit if BBLAYERS_LAYERINDEX_URL is not set
We were printing an error here, but not exiting. (Bitbake rev: ddcaf8950a0b1cc74806e1ad7b49a1de0ea0d2b1) 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-layers1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/bin/bitbake-layers b/bitbake/bin/bitbake-layers
index 5518c63641..1c0d520d10 100755
--- a/bitbake/bin/bitbake-layers
+++ b/bitbake/bin/bitbake-layers
@@ -265,6 +265,7 @@ Removes the specified layer from bblayers.conf
apiurl = self.bbhandler.config_data.getVar('BBLAYERS_LAYERINDEX_URL', True)
if not apiurl:
logger.error("Cannot get BBLAYERS_LAYERINDEX_URL")
+ return 1
else:
if apiurl[-1] != '/':
apiurl += '/'