mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 12:32:12 +02:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user