aboutsummaryrefslogtreecommitdiffstats
path: root/bin/oe/build.py
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-03-31 18:14:20 +0000
committerChris Larson <clarson@kergoth.com>2004-03-31 18:14:20 +0000
commit485090905355b9a4ee8cc84add1e43527a26de08 (patch)
tree142889eae5cef32656597a4354fda8a3508c3bec /bin/oe/build.py
parent1f07db1cc6b8141ad2b9d0ded5dd286dca972fa1 (diff)
downloadbitbake-485090905355b9a4ee8cc84add1e43527a26de08.tar.gz
Move some variable sets out of the parser, add support for anonymous functions (executed as a queue at the end of the parse), and fix a FILE variable bug.
Diffstat (limited to 'bin/oe/build.py')
-rw-r--r--bin/oe/build.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/oe/build.py b/bin/oe/build.py
index 1aa01620a..e773b9585 100644
--- a/bin/oe/build.py
+++ b/bin/oe/build.py
@@ -149,10 +149,10 @@ def exec_func_shell(func, d):
return
global logfile
- t = data.getVar('T', d)
+ t = data.getVar('T', d, 1)
if not t:
+ oe.error("T variable not set")
return 0
- t = data.expand(t, d)
mkdirhier(t)
logfile = "%s/log.%s.%s" % (t, func, str(os.getpid()))
runfile = "%s/run.%s.%s" % (t, func, str(os.getpid()))