projects
/
vuplus_bitbake
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99fad5f
)
Deal with really annoying failure when the build code tries to return to a dir that...
author
Chris Larson
<clarson@kergoth.com>
Sat, 22 May 2004 16:51:59 +0000
(16:51 +0000)
committer
Chris Larson
<clarson@kergoth.com>
Sat, 22 May 2004 16:51:59 +0000
(16:51 +0000)
bin/oe/build.py
patch
|
blob
|
history
diff --git
a/bin/oe/build.py
b/bin/oe/build.py
index
c7b0972
..
ab9e2f2
100644
(file)
--- a/
bin/oe/build.py
+++ b/
bin/oe/build.py
@@
-131,7
+131,8
@@
def exec_func_python(func, d):
g['os'] = os
g['d'] = d
exec comp in g
- os.chdir(prevdir)
+ if os.path.exists(prevdir):
+ os.chdir(prevdir)
def exec_func_shell(func, d):
"""Execute a shell OE 'function' Returns true if execution was successful.