diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-12-18 14:47:33 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-12-18 14:47:33 -0800 |
commit | f83532997b8ab16201fd75abb0dc94790a53d26d (patch) | |
tree | a5fc4ac23fc8cea662637d1491837cf2b5c83778 /tools | |
parent | 0e8e6a82b7ac67805f59546e653720894c3006b3 (diff) |
finish sanity checks
Diffstat (limited to 'tools')
-rw-r--r-- | tools/shared.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/shared.py b/tools/shared.py index ed6ac645..1366f6fd 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -43,10 +43,12 @@ def check_sanity(force=False): sanity_file = CONFIG_FILE + '_sanity' try: sanity_mtime = os.stat(sanity_file).st_mtime + if sanity_mtime > settings_mtime: + return # sanity has been checked except: - sanity_mtime = None - if sanity_mtime is not None and sanity_mtime > settings_mtime: - return # sanity has been checked + pass + + print >> sys.stderr, '(Emscripten: Running sanity checks)' if not check_engine(COMPILER_ENGINE): print >> sys.stderr, 'FATAL: The JavaScript shell used for compiling (%s) does not seem to work, check the paths in ~/.emscripten' % COMPILER_ENGINE |