aboutsummaryrefslogtreecommitdiffstats
path: root/bin/oe/build.py
diff options
context:
space:
mode:
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()))