From: Richard Purdie Date: Sat, 23 May 2009 09:56:21 +0000 (+0100) Subject: sanity.bbclass: Fix the warning message above tmpdir moving to point to the correct... X-Git-Tag: 2011-1~7440 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=ec4d79ddc87081fbe1fdd340f1297abf147a86f6;p=openembedded-core.git sanity.bbclass: Fix the warning message above tmpdir moving to point to the correct path Signed-off-by: Richard Purdie --- diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 7c5b99cf87..75bb1a99c1 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@ -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)