]> code.ossystems Code Review - openembedded-core.git/commit
create-spdx: Protect against None from LICENSE_PATH
authorSaul Wold <Saul.Wold@windriver.com>
Wed, 17 Nov 2021 18:08:14 +0000 (10:08 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 21 Nov 2021 11:04:20 +0000 (11:04 +0000)
commitd6260decae6d2654f6e058f12ca02d582a8ef5a4
tree0c579aec184f946e040539233d00c824dd7690a1
parent18eab77ee65c73b17225e69c7ba446ab1c69fa92
create-spdx: Protect against None from LICENSE_PATH

If LICENSE_PATH is not set, then the split() will fail on a NoneType.

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/create-spdx.bbclass