projects
/
vuplus_bitbake
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
844f30a
)
bbread: wrap the call to bb.data.emit_env() in a try: except block.
author
Chris Larson
<clarson@kergoth.com>
Sun, 26 Dec 2004 06:01:39 +0000
(06:01 +0000)
committer
Chris Larson
<clarson@kergoth.com>
Sun, 26 Dec 2004 06:01:39 +0000
(06:01 +0000)
bin/bbread
patch
|
blob
|
history
diff --git
a/bin/bbread
b/bin/bbread
index
99e5013
..
cafdeab
100755
(executable)
--- a/
bin/bbread
+++ b/
bin/bbread
@@
-37,7
+37,12
@@
if len(sys.argv) == 2:
bb.fatal("%s" % e)
# emit variables and shell functions
-bb.data.emit_env(sys.__stdout__, d, True)
+try:
+ bb.data.emit_env(sys.__stdout__, d, True)
+except bb.build.FuncFailed:
+ pass
+except Exception, e:
+ bb.fatal("%s" % e)
# emit the metadata which isnt valid shell
for e in d.keys():
if bb.data.getVarFlag(e, 'python', d):