Prefer the system version of nodejs to the emscripten one
This commit is contained in:
parent
1f1b0afb5c
commit
65f71fe060
@ -113,7 +113,7 @@ EOM
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x$NODE" = x; then
|
if test "x$NODE" = x; then
|
||||||
for candidate in node nodejs; do
|
for candidate in /usr/local/bin/node /usr/local/bin/nodejs /usr/bin/node /usr/bin/nodejs node nodejs; do
|
||||||
case $($candidate --version 2>&1) in #(
|
case $($candidate --version 2>&1) in #(
|
||||||
v*)
|
v*)
|
||||||
NODE=$candidate
|
NODE=$candidate
|
||||||
|
Loading…
Reference in New Issue
Block a user