diff options
author | Sheogorath | 2017-01-23 06:11:20 +0100 |
---|---|---|
committer | GitHub | 2017-01-23 06:11:20 +0100 |
commit | 9122ccd1b8dc4d6a41aaa0794e80b5e06f2484d5 (patch) | |
tree | 41d1ef377fec4d3223f35c9f610fe36c2f590bfe /bin | |
parent | 4a25adba230c754d05040634fe1411184b6adb79 (diff) |
Add fail fast option
Fail the script if a command inside it fails to prevent a install with exitcode 0 even when commands in it are failing.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/setup | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,5 +1,7 @@ #!/bin/bash +set -e + # run command at repo root CURRENT_PATH=$PWD if [ -d .git ]; then |