don't run from stdin

Running from stdin by piping to bash prevents `read` and other install prompts.
This commit is contained in:
AJ ONeal 2015-01-19 16:59:20 -07:00
parent 331f4eadb9
commit 22d6a12a7f
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ Works for any recent version of Ubuntu or OS X.
echo "v1.0.1" > /tmp/IOJS_VER echo "v1.0.1" > /tmp/IOJS_VER
# And install away! # And install away!
curl -fsSL bit.ly/install-iojs | bash curl -fsSL bit.ly/install-iojs -o /tmp/iojs-dev.bash; bash /tmp/iojs-dev.bash
``` ```
**NOTE**: If you have node installed, this script will rename it so that it isn't overwritten by the iojs installer. **NOTE**: If you have node installed, this script will rename it so that it isn't overwritten by the iojs installer.