fail test script on error

This commit is contained in:
Joao Moreno 2016-01-12 16:59:22 +01:00
parent 027ba03e63
commit 3e690ee703

View file

@ -1,4 +1,5 @@
#!/bin/bash
set -e
if [[ "$OSTYPE" == "darwin"* ]]; then
realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"; }