summaryrefslogtreecommitdiffstats
path: root/bitbake
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
parent5807ab32667a9f88f629c33f57c621e38fd3b910 (diff)
downloadpoky-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')
-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
265 apiurl = self.bbhandler.config_data.getVar('BBLAYERS_LAYERINDEX_URL', True) 265 apiurl = self.bbhandler.config_data.getVar('BBLAYERS_LAYERINDEX_URL', True)
266 if not apiurl: 266 if not apiurl:
267 logger.error("Cannot get BBLAYERS_LAYERINDEX_URL") 267 logger.error("Cannot get BBLAYERS_LAYERINDEX_URL")
268 return 1
268 else: 269 else:
269 if apiurl[-1] != '/': 270 if apiurl[-1] != '/':
270 apiurl += '/' 271 apiurl += '/'