Skip to content

Commit

Permalink
internal(js): change path to installed EMSDK
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris-Rasin committed Sep 28, 2024
1 parent 3f4f6d0 commit 32ba7c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ fi

if [[ $1 == *"js"* ]]; then
if [ -z "$EMSDK" ]; then
if [ -f ~/Source/emsdk/emsdk_env.sh ]; then
if [ -f ~/projects/emsdk/emsdk_env.sh ]; then
export EMSDK_QUIET=1
source ~/Source/emsdk/emsdk_env.sh
source ~/projects/emsdk/emsdk_env.sh
else
echo "error: no EMSDK environment variable, run emsdk/emsdk_env.sh"
exit 1
Expand Down

0 comments on commit 32ba7c6

Please sign in to comment.