deploy.sh: add missing die() function

This commit is contained in:
Evgeny Zinoviev 2022-07-11 03:02:06 +03:00
parent 864e73cdc7
commit 2e4ee8694f

View File

@ -1,5 +1,10 @@
#!/bin/bash
die() {
>&2 echo "error: $@"
exit 1
}
set -e
DIR="$( cd "$( dirname "$(readlink -f "${BASH_SOURCE[0]}")" )" && pwd )"