projects
/
scm
/
bb
/
tizen-distro.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b20e5d
)
Make the file not found error actually useable.
author
Chris Larson
<chris_larson@mentor.com>
Fri, 4 Jun 2010 20:10:00 +0000
(13:10 -0700)
committer
Richard Purdie
<rpurdie@linux.intel.com>
Fri, 2 Jul 2010 14:41:35 +0000
(15:41 +0100)
(Bitbake rev:
1cfcbee014478eb129ed382c13622317412b036e
)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/parse/__init__.py
patch
|
blob
|
history
diff --git
a/bitbake/lib/bb/parse/__init__.py
b/bitbake/lib/bb/parse/__init__.py
index
4b95788
..
fc06841
100644
(file)
--- a/
bitbake/lib/bb/parse/__init__.py
+++ b/
bitbake/lib/bb/parse/__init__.py
@@
-81,9
+81,11
@@
def init(fn, data):
def resolve_file(fn, d):
if not os.path.isabs(fn):
- fn = bb.utils.which(bb.data.getVar("BBPATH", d, 1), fn)
- if not fn:
- raise IOError("file %s not found" % fn)
+ bbpath = bb.data.getVar("BBPATH", d, True)
+ newfn = bb.which(bbpath, fn)
+ if not newfn:
+ raise IOError("file %s not found in %s" % (fn, bbpath))
+ fn = newfn
bb.msg.debug(2, bb.msg.domain.Parsing, "LOAD %s" % fn)
return fn