summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-05-23 10:56:21 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-05-23 10:56:21 +0100
commitec4d79ddc87081fbe1fdd340f1297abf147a86f6 (patch)
treef431f1cf5662e7dd2110a89305f2381ca8a56399
parent85878623abfa76fae658f3eead228b0de427b832 (diff)
downloadopenembedded-core-ec4d79ddc87081fbe1fdd340f1297abf147a86f6.tar.gz
openembedded-core-ec4d79ddc87081fbe1fdd340f1297abf147a86f6.tar.bz2
openembedded-core-ec4d79ddc87081fbe1fdd340f1297abf147a86f6.tar.xz
openembedded-core-ec4d79ddc87081fbe1fdd340f1297abf147a86f6.zip
sanity.bbclass: Fix the warning message above tmpdir moving to point to the correct path
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--meta/classes/sanity.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 7c5b99cf8..75bb1a99c 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)