Commit b0c7e62
committed
[bootstrap] Honor EMSDK_NODE in bootstrap.py
When `EMSDK_NODE` is present in the environment, prepend its directory
to `PATH` before running bootstrap actions.
By default, emsdk avoids prepending its own node binary to `PATH` if a
system node is already present in `PATH`. However, bootstrap actions
(such as `npm ci`) may fail if the system node is an older incompatible
version or lacks npm.
See: emscripten-core#276141 parent 92a1d86 commit b0c7e62
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
122 | 135 | | |
123 | 136 | | |
124 | 137 | | |
| |||
130 | 143 | | |
131 | 144 | | |
132 | 145 | | |
| 146 | + | |
| 147 | + | |
133 | 148 | | |
134 | 149 | | |
135 | 150 | | |
| |||
0 commit comments