summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/sanity.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/sanity.bbclass b/classes/sanity.bbclass
index 7aabe04283..b925d05e18 100644
--- a/classes/sanity.bbclass
+++ b/classes/sanity.bbclass
@@ -131,6 +131,8 @@ def check_sanity(e):
if (f.read().strip() != tmpdir):
messages = messages + "Error, TMPDIR has changed location. You need to either move it back to %s or rebuild\n" % tmpdir
else:
+ import bb
+ bb.mkdirhier(tmpdir)
f = file(checkfile, "w")
f.write(tmpdir)
f.close()