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.
This commit is contained in:
Sheogorath 2017-01-23 06:11:20 +01:00 committed by GitHub
parent 4a25adba23
commit 9122ccd1b8

View file

@ -1,5 +1,7 @@
#!/bin/bash
set -e
# run command at repo root
CURRENT_PATH=$PWD
if [ -d .git ]; then