commit | 63672641a5d0baafb51e0e0f25a5696b1ee901ee | [log] [tgz] |
---|---|---|
author | Jordan Harband <ljharb@gmail.com> | Mon May 11 01:46:18 2015 -0700 |
committer | Jordan Harband <ljharb@gmail.com> | Mon May 11 01:46:18 2015 -0700 |
tree | c63bd6d95f682d1aa7c02c5f4ab9d1be38e30ca8 | |
parent | 94bba31de3111b8228dd4f62e92dca820f9e7cb7 [diff] [blame] |
Add wrapping curly braces to ensure that the entire scripts are downloaded. If the closing curly brace isn't present, the script will error out.
diff --git a/install.sh b/install.sh index 40087b9..ed2747b 100755 --- a/install.sh +++ b/install.sh
@@ -2,6 +2,8 @@ set -e +{ # this ensures the entire script is downloaded # + nvm_has() { type "$1" > /dev/null 2>&1 } @@ -241,3 +243,5 @@ } [ "_$NVM_ENV" = "_testing" ] || nvm_do_install + +} # this ensures the entire script is downloaded #