emscripten-core / emsdk

Emscripten SDK
http://emscripten.org
Other
3.02k stars 688 forks source link

Fix `activated_path_skip` on repeated running of `emsdk_env.sh` #1250

Closed sbc100 closed 1 year ago

sbc100 commented 1 year ago

The first time around node was being correctly added to the PATH, but the second time around this code was observing the emsdk copy of node in the PATH and assuming it could be skipped.

Fixes: #1240