Skip to content

Instantly share code, notes, and snippets.

@Rillke
Created August 31, 2017 21:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Rillke/2f0b6fd8662ff75ec0e97f7c4846af5a to your computer and use it in GitHub Desktop.
Save Rillke/2f0b6fd8662ff75ec0e97f7c4846af5a to your computer and use it in GitHub Desktop.
emscripten
#!/usr/bin/env bash
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
echo 'Script must be sourced'
exit -1
fi
cwd=$(pwd)
cd /INSTALLDIR/emsdk-portable
source emsdk_env.sh
cd $cwd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment