From 2e4ee8694fb829acc2b57b4c95da40f7b773b0cb Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Mon, 11 Jul 2022 03:02:06 +0300 Subject: deploy.sh: add missing die() function --- deploy/deploy.sh | 5 +++++ 1 file changed, 5 insertions(+) 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 )" -- cgit v1.2.3