From 485090905355b9a4ee8cc84add1e43527a26de08 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Wed, 31 Mar 2004 18:14:20 +0000 Subject: 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. --- bin/oe/build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/oe/build.py') 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())) -- cgit 1.2.3-korg