Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Commit

Permalink
use python3 and call .py script - don't rely on emsdk finding python
Browse files Browse the repository at this point in the history
  • Loading branch information
yowl committed Mar 29, 2020
1 parent 323c6df commit 199dcc7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions eng/install-emscripten.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ cd emsdk
powershell -NoProfile -NoLogo -ExecutionPolicy ByPass -command "& """%~dp0update-machine-certs.ps1""" %*"

dir "%1"\..\native-tools\bin\
dir "%1"\..\native-tools\bin\python
dir "%1"\..\native-tools\bin\python\2.7.15
dir "%1"\..\native-tools\bin\python3

rem make sure python is in the path
set PATH=%PATH%;"%1"\..\native-tools\bin\python
call emsdk install 1.39.8
rem set PATH=%PATH%;"%1"\..\native-tools\bin\python
call "%1"\..\native-tools\bin\python3 emsdk.py install 1.39.8
if %errorlevel% NEQ 0 goto fail
call emsdk activate 1.39.8
if %errorlevel% NEQ 0 goto fail
Expand Down

0 comments on commit 199dcc7

Please sign in to comment.