summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdeploy/deploy.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/deploy/deploy.sh b/deploy/deploy.sh
index 7ef28a3..95ff314 100755
--- a/deploy/deploy.sh
+++ b/deploy/deploy.sh
@@ -1,5 +1,10 @@
#!/bin/bash
+die() {
+ >&2 echo "error: $@"
+ exit 1
+}
+
set -e
DIR="$( cd "$( dirname "$(readlink -f "${BASH_SOURCE[0]}")" )" && pwd )"