lets crash out on error

This commit is contained in:
Sam 2017-12-14 18:02:42 +11:00
parent f2565f6c7e
commit e0f660d9a9
1 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,6 @@
#!/bin/bash
set -e
SCRIPTPATH=$(cd "$(dirname "$0")"; pwd -P)
SOURCE_DIR=$(cd "$SCRIPTPATH" && cd ../.. && pwd -P)
DATA_DIR="$SOURCE_DIR/data/postgres"