deploy.sh: add missing die() function
This commit is contained in:
parent
864e73cdc7
commit
2e4ee8694f
@ -1,5 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
die() {
|
||||||
|
>&2 echo "error: $@"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
DIR="$( cd "$( dirname "$(readlink -f "${BASH_SOURCE[0]}")" )" && pwd )"
|
DIR="$( cd "$( dirname "$(readlink -f "${BASH_SOURCE[0]}")" )" && pwd )"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user