Skip to content
Browse files

Fix version test in run.sh

  • Loading branch information...
1 parent 5195f68 commit 87c693e09292a2c653f85c6b0a12577a81307c2a @marcelklehr committed Jul 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/installDeps.sh
View
2 bin/installDeps.sh
@@ -36,7 +36,7 @@ fi
#check node version
NODE_VERSION=$(node --version)
node_v_minor=$(echo $NODE_VERSION | cut -d "." -f 1-2)
-if [ ! node_v_minor = "v0.8" ] || [ ! node_v_minor = "v0.6"]; then
+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.6.x or v0.8.x" >&2
exit 1
fi

0 comments on commit 87c693e

Please sign in to comment.
Something went wrong with that request. Please try again.