summaryrefslogtreecommitdiffstats
path: root/meta
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 /meta
parent85878623abfa76fae658f3eead228b0de427b832 (diff)
downloadpoky-ec4d79ddc87081fbe1fdd340f1297abf147a86f6.tar.gz
sanity.bbclass: Fix the warning message above tmpdir moving to point to the correct path
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-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 7c5b99cf87..75bb1a99c1 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -132,7 +132,7 @@ def check_sanity(e):
132 if os.path.exists(checkfile): 132 if os.path.exists(checkfile):
133 f = file(checkfile, "r") 133 f = file(checkfile, "r")
134 if (f.read().strip() != tmpdir): 134 if (f.read().strip() != tmpdir):
135 messages = messages + "Error, TMPDIR has changed location. You need to either move it back to %s or rebuild\n" % tmpdir 135 messages = messages + "Error, TMPDIR has changed location. You need to either move it back to %s or rebuild\n" % saved_tmpdir
136 else: 136 else:
137 f = file(checkfile, "w") 137 f = file(checkfile, "w")
138 f.write(tmpdir) 138 f.write(tmpdir)