]> code.ossystems Code Review - openembedded-core.git/commitdiff
base.bbclass: Make sure PATH searched for applications is expanded
authorRichard Purdie <richard@openedhand.com>
Sun, 6 Jan 2008 18:58:11 +0000 (18:58 +0000)
committerRichard Purdie <richard@openedhand.com>
Sun, 6 Jan 2008 18:58:11 +0000 (18:58 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3413 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/classes/base.bbclass

index 816f872f0b90786b09ea117680377bcb438095cb..8d92e3db0649dc2a018bf5c353c24621ecc278db 100644 (file)
@@ -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):