X-Git-Url: http://jaekl.net/gitweb/?p=cfb.git;a=blobdiff_plain;f=cov.sh;h=fd41983eb304aaa033167b65e7860aa89ec01ddc;hp=ba25745bde272e30db5e95bc7d917d9f151912cc;hb=20766c2e2c095962185012dec9292add2f70ff43;hpb=01f0bef1b13c6b9f5b370372d36ad4d6149ff2c3 diff --git a/cov.sh b/cov.sh index ba25745..fd41983 100755 --- a/cov.sh +++ b/cov.sh @@ -1,4 +1,8 @@ #!/bin/bash + +set -o nounset ## (set -u) error exit on attempts to deref undefined variable +set -o errexit ## (set -e) error exit if subcommand returns nonzero + CFB_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" INSTR_DIR="${CFB_ROOT}/../instr"