donnemartin/dev-setup

For all installation scripts, exit immediately if a command exits with a non-zero status

Open

#25 opened on May 29, 2016

 (2 comments) (0 reactions) (0 assignees)Python (1,139 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (6,264 stars)
PR merge metrics
 (PR metrics pending)

Description

it's important for a script to exit immediately if a command exits with a non-zero status, otherwise results are unpredictable.

this can be achieved by adding set -e at the beginning of all bash scripts

Contributor guide