Prefer the system version of nodejs to the emscripten one

This commit is contained in:
Frank Denis 2017-12-20 22:51:58 +01:00
parent 1f1b0afb5c
commit 65f71fe060

View File

@ -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