Install fails after successful cloning #1146
Labels
bugs
Oh no, something's broken :-(
installing nvm
Problems installing nvm itself
pull request wanted
This is a great way to contribute! Help us out :-D
I noticed on Friday that installation of NVM using install.sh was no longer succeeding in my VM image builds. I run NVM installation in a larger install script that uses
set -e
, and I started noticing that the install script would abort and break the build after the "Cloning" step. Investigating further, it looked like the script was exiting with status 1.I believe I've traced it to this change – specifically, these lines:
Bash behavior in this case, IIUC, is to run
||
before the&&
, so thatexit 1
is executed whether or not the cloning succeeds.I am verifying a fix that I intend to submit in a follow-up PR. Thanks!
The text was updated successfully, but these errors were encountered: