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-26 20:16:50 +0100 |
commit | 5d5a9470b08b83627186224edd491a81bbae7bdb (patch) | |
tree | fddbdc809860feb42c696db08614f6ceef500c20 | |
parent | 36aadaa3b384508ee339a3712a136d41740c0da7 (diff) | |
download | openembedded-5d5a9470b08b83627186224edd491a81bbae7bdb.tar.gz |
sanity.bbclass: Work if no TMPDIR was created yet
-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() |