Skip to content

Commit

Permalink
Allow v0.6.0 on UNIX
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelklehr committed Jul 5, 2012
1 parent bc15ea5 commit f15ffbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/installDeps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ fi

#check node version
NODE_VERSION=$(node --version)
if [ ! $(echo $NODE_VERSION | cut -d "." -f 1-2) = "v0.8" ]; then
node_v_minor=$(echo $NODE_VERSION | cut -d "." -f 1-2)
if [ ! node_v_minor = "v0.8" ] || [ ! node_v_minor = "v0.6"]; then
echo "You're running a wrong version of node, you're using $NODE_VERSION, we need v0.8.x" >&2
exit 1
fi
Expand Down

0 comments on commit f15ffbb

Please sign in to comment.