Hacker News new | ask | show | jobs
by chuckadams 655 days ago
> Maybe put `&&` between them so that if one fails, it won't keep running through the script?

Or just add `set -o errexit` at the top of the script. Or use make.