diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2008-10-26 20:16:50 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2008-10-27 14:46:36 +0100 |
commit | c3d62194db40e759f2bfa22e22aea1ae0ee0583f (patch) | |
tree | ac121fb6de8a7b2e85a8aaaa725994d151785821 /classes | |
parent | 38ac7b17a43a32174c7cfb153860ab2a2ff2dbcd (diff) |
sanity.bbclass: Work if no TMPDIR was created yet
Diffstat (limited to 'classes')
-rw-r--r-- | classes/sanity.bbclass | 2 |
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() |