diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/file_packager.py | 2 | ||||
-rw-r--r-- | tools/shared.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/file_packager.py b/tools/file_packager.py index 0fa6a529..0097c473 100644 --- a/tools/file_packager.py +++ b/tools/file_packager.py @@ -203,7 +203,7 @@ curr_abspath = os.path.abspath(os.getcwd()) for file_ in data_files: path = file_['dstpath'] abspath = os.path.abspath(path) - print >> sys.stderr, path, abspath, curr_abspath + if DEBUG: print >> sys.stderr, path, abspath, curr_abspath if not abspath.startswith(curr_abspath): print >> sys.stderr, 'Error: Embedding "%s" which is below the current directory. This is invalid since the current directory becomes the root that the generated code will see' % path sys.exit(1) diff --git a/tools/shared.py b/tools/shared.py index ba926f72..250c018d 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -286,7 +286,7 @@ def check_node_version(): EMSCRIPTEN_VERSION = '1.5.3' def generate_sanity(): - return EMSCRIPTEN_VERSION + '|' + get_llvm_target() + return EMSCRIPTEN_VERSION + '|' + get_llvm_target() + '|' + LLVM_ROOT def check_sanity(force=False): try: |