]> code.ossystems Code Review - openembedded-core.git/commit
base.bbclass: avoid duplicate call to d.getVar('LICENSE', True)
authorAndre McCurdy <armccurdy@gmail.com>
Thu, 31 Mar 2016 18:13:07 +0000 (11:13 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 31 Mar 2016 22:02:27 +0000 (23:02 +0100)
commit32a1df86877cd8e70baccd858847fa927508f159
treebc0978a1cc0b77af8a771a56124427a9353a74b1
parent8fc8b60005e7641861324c8541fb45058e7aab8e
base.bbclass: avoid duplicate call to d.getVar('LICENSE', True)

Reuse the 'license' variable, instead of calling
d.getVar('LICENSE', True) again.

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