summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2008-01-06 17:59:08 +0000
committerRichard Purdie <rpurdie@rpsys.net>2008-01-06 17:59:08 +0000
commit3742113ef49b7a6cabce2f484f856e34a935df77 (patch)
tree7f7c832c96825384ebbcbaeb1a49951556bb72ac
parent26bcd9b06a3e11c2d72553732f970662170d434f (diff)
base.bbclass: Expand path when searching for applications (else it can contain unexpanded entries and applications in staging don't get found for example)
-rw-r--r--classes/base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index e0b4c59e5f..d48d2a5726 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -906,7 +906,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):