handle node + iojs

This commit is contained in:
AJ ONeal 2015-01-15 15:04:14 -07:00
parent 8916e4501a
commit b44332e44d
1 changed files with 1 additions and 1 deletions

View File

@ -51,8 +51,8 @@ elif [ "$(node -v 2>/dev/null)" != "$(iojs -v 2>/dev/null)" ]; then
echo "(copy it back after the install if to maintain node.js and io.js separately)" echo "(copy it back after the install if to maintain node.js and io.js separately)"
echo "" echo ""
echo sudo mv "$(which node)" "$(which node).$(node -v)" echo sudo mv "$(which node)" "$(which node).$(node -v)"
sudo mv "$(which node)" "$(which node).$(node -v)"
sleep 3 sleep 3
sudo mv "$(which node)" "$(which node).$(node -v)"
echo "################################################################################" echo "################################################################################"
echo "" echo ""
fi fi