summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)