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 1b941ac58c..4d4abd3ea5 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -378,7 +378,7 @@ def check_sanity(e):
378 if last_sstate_dir != sstate_dir: 378 if last_sstate_dir != sstate_dir:
379 messages = messages + check_sanity_sstate_dir_change(sstate_dir, e.data) 379 messages = messages + check_sanity_sstate_dir_change(sstate_dir, e.data)
380 380
381 if os.path.exists("conf"): 381 if os.path.exists("conf") and not messages:
382 f = file(sanityverfile, 'w') 382 f = file(sanityverfile, 'w')
383 f.write("SANITY_VERSION %s\n" % sanity_version) 383 f.write("SANITY_VERSION %s\n" % sanity_version)
384 f.write("TMPDIR %s\n" % tmpdir) 384 f.write("TMPDIR %s\n" % tmpdir)