Commits


Reo authored and GitHub committed f6c9e453f88
Fix `emsdk activate` breaking configuration file (#602) Fixes: #587 > If nodejs is not installed by `emsdk`, the output ".emscripten" file by `emsdk activate` will look like this. > > ```python > NODE_JS = ''/usr/bin/nodejs'' > # too many quotes > ``` > > `emcc` fails to execute by this syntax error. > > I think fixing [this line](https://github.com/emscripten-core/emsdk/blob/1.40.1/emsdk.py#L1450) could be a solution. > > ```python > activated_config['NODE_JS'] = "'%s'" % node_fallback > # the value will be quoted later again > ```