Move into the emsdk directory before running ./emsdk. Make it possible to add `test -x $EMSCRIPTEN/emsdk_env.sh && source $EMSCRIPTEN/emsdk_env.sh` to my shell initialization script.
7 lines
111 B
Bash
Executable File
7 lines
111 B
Bash
Executable File
#!/bin/bash
|
|
|
|
pushd `dirname "$_"` > /dev/null
|
|
./emsdk construct_env
|
|
source ./emsdk_set_env.sh
|
|
popd > /dev/null
|