diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-09-26 12:30:46 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-09-26 12:30:46 -0700 |
commit | e546b42883bbcabb4657dfcdb523a93d0458f5b3 (patch) | |
tree | d40d27be582286185651b1444bf0805bb1179849 /tools/settings_template_readonly.py | |
parent | a7fdd2c63cb8b673a1a59d9d57ba41687a61ba0f (diff) |
autoguess ~/.emscripten values on first run, possibly fixes #593
Diffstat (limited to 'tools/settings_template_readonly.py')
-rw-r--r-- | tools/settings_template_readonly.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/settings_template_readonly.py b/tools/settings_template_readonly.py index 8d03237e..9102fe40 100644 --- a/tools/settings_template_readonly.py +++ b/tools/settings_template_readonly.py @@ -1,15 +1,15 @@ -# This file will be copied to ~/.emscripten if that file doesn't exist. +# This file will be edited (the {{{ }}} things), and then ~/.emscripten created with the result, if ~/.emscripten doesn't exist. # Note: If you put paths relative to the home directory, do not forget os.path.expanduser import os # this helps projects using emscripten find it -EMSCRIPTEN_ROOT = os.path.expanduser(os.getenv('EMSCRIPTEN') or '/opt/emscripten') -LLVM_ROOT = os.path.expanduser(os.getenv('LLVM') or '/usr/bin') +EMSCRIPTEN_ROOT = os.path.expanduser(os.getenv('EMSCRIPTEN') or '{{{ EMSCRIPTEN_ROOT }}}') +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 = '{{{ NODE }}}' SPIDERMONKEY_ENGINE = [ os.path.expanduser(os.getenv('SPIDERMONKEY') or 'js'), '-m', '-n'] V8_ENGINE = os.path.expanduser(os.getenv('V8') or 'd8') |