From c3d62194db40e759f2bfa22e22aea1ae0ee0583f Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 26 Oct 2008 20:16:50 +0100 Subject: sanity.bbclass: Work if no TMPDIR was created yet --- classes/sanity.bbclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'classes') 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() -- cgit v1.2.3