]> code.ossystems Code Review - openembedded-core.git/commit
base.bbclass: warn when there is trailing slash in S or B variables
authorMartin Jansa <Martin.Jansa@gmail.com>
Fri, 9 Oct 2020 12:58:14 +0000 (14:58 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 10 Oct 2020 12:37:44 +0000 (13:37 +0100)
commit8a4c473c07cba159cf88ed775b9f073c6adf31d4
treee47772110e3626e4b57252888725bc230320ebae
parentc77651549dd382007c60767076a1a1c72e282bca
base.bbclass: warn when there is trailing slash in S or B variables

* to make sure we won't hit such corner cases in future add a warning
  to prevent trailing slashes and duplicated slashes even when they
  in most cases don't cause harm

* only a few cases were found in layers included in my world builds:
  oe-core: 1
  meta-oe: 7
  meta-python2: 1
  meta-qt5: 1
  meta-aws: 1

  will send patches for these once this warning is approved for oe-core

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/base.bbclass