mirror of
https://git.yoctoproject.org/poky
synced 2026-10-16 05:17:02 +00:00
sanity.bbclass: Really fix TMPDIR change warning message
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
1 parent
05a296b204
commit
f2a9705633
1 file changed
+2
-1
@@ -131,7 +131,8 @@ def check_sanity(e):
|
||||
checkfile = os.path.join(tmpdir, "saved_tmpdir")
|
||||
if os.path.exists(checkfile):
|
||||
f = file(checkfile, "r")
|
||||
if (f.read().strip() != tmpdir):
|
||||
saved_tmpdir = f.read().strip()
|
||||
if (saved_tmpdir != tmpdir):
|
||||
messages = messages + "Error, TMPDIR has changed location. You need to either move it back to %s or rebuild\n" % saved_tmpdir
|
||||
else:
|
||||
f = file(checkfile, "w")
|
||||
|
||||
Reference in new issue
Block a user