sanity.bbclass: Fix the warning message above tmpdir moving to point to the correct path
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
85878623ab
commit
ec4d79ddc8
|
@ -132,7 +132,7 @@ def check_sanity(e):
|
|||
if os.path.exists(checkfile):
|
||||
f = file(checkfile, "r")
|
||||
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
|
||||
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")
|
||||
f.write(tmpdir)
|
||||
|
|
Loading…
Reference in New Issue