projects
/
vuplus_bitbake
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a03720a
)
Auto merged
author
Chris Larson
<clarson@kergoth.com>
Mon, 12 Apr 2004 22:07:31 +0000
(22:07 +0000)
committer
Chris Larson
<clarson@kergoth.com>
Mon, 12 Apr 2004 22:07:31 +0000
(22:07 +0000)
bin/oe/parse/ConfHandler.py
patch
|
blob
|
history
diff --git
a/bin/oe/parse/ConfHandler.py
b/bin/oe/parse/ConfHandler.py
index
1b2fdff
..
19c5eb3
100644
(file)
--- a/
bin/oe/parse/ConfHandler.py
+++ b/
bin/oe/parse/ConfHandler.py
@@
-86,8
+86,13
@@
def handle(fn, data = {}, include = 0):
else:
inc_string = "reading"
init(data)
+
if include == 0:
oe.data.inheritFromOS(data)
+ oldfile = None
+ else:
+ oldfile = oe.data.getVar('FILE', data)
+
fn = obtain(fn, data)
oepath = ['.']
if not os.path.isabs(fn):
@@
-121,6
+126,9
@@
def handle(fn, data = {}, include = 0):
lineno = lineno + 1
s = s[:-1] + s2
feeder(lineno, s, fn, data)
+
+ if oldfile:
+ oe.data.setVar('FILE', oldfile, data)
return data
def feeder(lineno, s, fn, data = {}):