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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/oe/build.py b/bin/oe/build.py
index d1c2767d1..756cbd7fc 100644
--- a/bin/oe/build.py
+++ b/bin/oe/build.py
@@ -342,11 +342,11 @@ def md5_is_current(task):
def mkstamp(task, d):
"""Creates/updates a stamp for a given task"""
- mkdirhier(data.expand('${TMPDIR}/stamps', d));
stamp = data.getVar('STAMP', d)
if not stamp:
return
stamp = "%s.%s" % (data.expand(stamp, d), task)
+ mkdirhier(os.path.dirname(stamp))
open(stamp, "w+")