Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[fix] runtime: Fix launch_helper.sh

  • Loading branch information...
commit a9ac54ca6f7e87437fe152b782667c549fe4cfd9 1 parent 54698c3
@BourgerieQuentin BourgerieQuentin authored
Showing with 6 additions and 4 deletions.
  1. +6 −4 tools/dependencies/launch_helper.sh
View
10 tools/dependencies/launch_helper.sh
@@ -12,11 +12,13 @@
# On Debian, node is now called nodejs. The configure script prefers the latter
# if it exists, as node might be some other program when both exist.
-if which nodejs &>/dev/null; then node=$(which nodejs); else
- if which node &>/dev/null; then node=$(which node); fi; fi
-if [ $? -ne 0 ] || [ ! -x "$node" ]; then
+node=`which nodejs`
+if [ -z "$node" ]; then
+ node=`which node`
+fi
+if [ -z "$node" ] || [ ! -x "$node" ]; then
- NODE_VERSION=v0.8.22
+ NODE_VERSION=v0.10.3
# Detect OS
IS_LINUX=""
Please sign in to comment.
Something went wrong with that request. Please try again.