]> 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)
committerAnuj Mittal <anuj.mittal@intel.com>
Mon, 22 Nov 2021 03:18:52 +0000 (11:18 +0800)
commit123ee0fc0d1470427cc563f512f621e0172cc232
tree1a2e41b8191556fa7aa9e092f0ae1cab87115503
parent1d350fd2a0db57617fbc62eb1d65f3ffa2667551
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>
(cherry picked from commit d6260decae6d2654f6e058f12ca02d582a8ef5a4)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/classes/create-spdx.bbclass