From 65f71fe06079eb1565d06d6afbe3423fb7f901cf Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Wed, 20 Dec 2017 22:51:58 +0100 Subject: [PATCH] Prefer the system version of nodejs to the emscripten one --- dist-build/emscripten.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist-build/emscripten.sh b/dist-build/emscripten.sh index cccfca64..47761b14 100755 --- a/dist-build/emscripten.sh +++ b/dist-build/emscripten.sh @@ -113,7 +113,7 @@ EOM fi 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 #( v*) NODE=$candidate