]> code.ossystems Code Review - openembedded-core.git/commitdiff
sanity.bbclass: Fix the warning message above tmpdir moving to point to the correct...
authorRichard Purdie <rpurdie@linux.intel.com>
Sat, 23 May 2009 09:56:21 +0000 (10:56 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Sat, 23 May 2009 09:56:21 +0000 (10:56 +0100)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
meta/classes/sanity.bbclass

index 7c5b99cf8720d3ed3a1b3d0a0a7cb167aafb6675..75bb1a99c18d998b265019cc5670bf0f7f1c76e6 100644 (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)