Skip to content

Commit

Permalink
[fix] runtime: Fix launch_helper.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
BourgerieQuentin committed Apr 11, 2013
1 parent 54698c3 commit a9ac54c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tools/dependencies/launch_helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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=""
Expand Down

0 comments on commit a9ac54c

Please sign in to comment.