Fixing a bug in install_as_script, from 516e553093

master
Jordan Harband 2014-11-22 10:29:48 -08:00
parent afba4e08fd
commit 5904d41b25
1 changed files with 2 additions and 2 deletions

View File

@ -82,8 +82,8 @@ install_nvm_as_script() {
else
echo "=> Downloading nvm as script to '$NVM_DIR'"
fi
nvm_download -s "$_source" -o "$NVM_DIR/nvm.sh" || {
echo >&2 "Failed to download '$_source'.."
nvm_download -s "$NVM_SOURCE" -o "$NVM_DIR/nvm.sh" || {
echo >&2 "Failed to download '$NVM_SOURCE'.."
return 1
}
}