mirror of
git://git.yoctoproject.org/poky
synced 2026-08-13 06:05:35 +00:00
base.bbclass: Make sure PATH searched for applications is expanded
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3413 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
parent
da8e8d3cd5
commit
d34b2f60a1
@ -901,7 +901,7 @@ def check_app_exists(app, d):
|
||||
from bb import which, data
|
||||
|
||||
app = data.expand(app, d)
|
||||
path = data.getVar('PATH', d)
|
||||
path = data.getVar('PATH', d, 1)
|
||||
return len(which(path, app)) != 0
|
||||
|
||||
def check_gcc3(data):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user