aboutsummaryrefslogtreecommitdiff
path: root/tools/settings_template_readonly.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-11-08 11:08:39 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-11-08 11:08:39 -0800
commit4adbd50104db2d9f6646837cc5e062f113fb0c53 (patch)
treeb3042a3b82467e60275b0723abdf4cd0e98d83b8 /tools/settings_template_readonly.py
parent02d5007d88926a07f0ba5addecc48d5bd540d8f5 (diff)
notice NODE env var in .emscripten by default
Diffstat (limited to 'tools/settings_template_readonly.py')
-rw-r--r--tools/settings_template_readonly.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/settings_template_readonly.py b/tools/settings_template_readonly.py
index 70eed93a..93ea2036 100644
--- a/tools/settings_template_readonly.py
+++ b/tools/settings_template_readonly.py
@@ -9,7 +9,7 @@ EMSCRIPTEN_ROOT = os.path.expanduser(os.getenv('EMSCRIPTEN') or '{{{ EMSCRIPTEN_
LLVM_ROOT = os.path.expanduser(os.getenv('LLVM') or '{{{ LLVM_ROOT }}}')
# See below for notes on which JS engine(s) you need
-NODE_JS = '{{{ NODE }}}'
+NODE_JS = os.path.expanduser(os.getenv('NODE') or '{{{ NODE }}}')
SPIDERMONKEY_ENGINE = [
os.path.expanduser(os.getenv('SPIDERMONKEY') or 'js'), '-m', '-n']
V8_ENGINE = os.path.expanduser(os.getenv('V8') or 'd8')