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:
Richard Purdie 2009-05-23 10:56:21 +01:00
parent 85878623ab
commit ec4d79ddc8
1 changed files with 1 additions and 1 deletions

View File

@ -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)