projects
/
vuplus_bitbake
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b723e0d
)
(no commit message)
author
Chris Larson
<clarson@kergoth.com>
Fri, 5 Mar 2004 17:35:38 +0000
(17:35 +0000)
committer
Chris Larson
<clarson@kergoth.com>
Fri, 5 Mar 2004 17:35:38 +0000
(17:35 +0000)
bin/oe/build.py
patch
|
blob
|
history
diff --git
a/bin/oe/build.py
b/bin/oe/build.py
index
590615a
..
8c1a024
100644
(file)
--- a/
bin/oe/build.py
+++ b/
bin/oe/build.py
@@
-100,7
+100,10
@@
def exec_func(func, d, dirs = None):
adir = data.expand(adir, d)
adir = data.expand(adir, d)
- prevdir = os.getcwd()
+ try:
+ prevdir = os.getcwd()
+ except OSError:
+ prevdir = data.expand('${TOPDIR}')
if adir and os.access(adir, os.F_OK):
os.chdir(adir)
if adir and os.access(adir, os.F_OK):
os.chdir(adir)