]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
parse: use bb.utils.which
authorChris Larson <chris_larson@mentor.com>
Fri, 17 Dec 2010 18:54:09 +0000 (11:54 -0700)
committerChris Larson <chris_larson@mentor.com>
Fri, 17 Dec 2010 19:13:54 +0000 (12:13 -0700)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
lib/bb/parse/__init__.py

index e2e7fe639c2edb31b0c3fa529dbd27a0df698add..3015d0c8dc4ed83766a66a4f4d0d4cbae3ca2fe3 100644 (file)
@@ -86,7 +86,7 @@ def init(fn, data):
 def resolve_file(fn, d):
     if not os.path.isabs(fn):
         bbpath = bb.data.getVar("BBPATH", d, True)
-        newfn = bb.which(bbpath, fn)
+        newfn = bb.utils.which(bbpath, fn)
         if not newfn:
             raise IOError("file %s not found in %s" % (fn, bbpath))
         fn = newfn