From 99c9026d7e3409170f1d4c23552cd6ffa71a4544 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Thu, 17 Oct 2024 12:52:26 +0200 Subject: Add auto repo clone --- forgebot_proper.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'forgebot_proper.sh') diff --git a/forgebot_proper.sh b/forgebot_proper.sh index 947be04..834347a 100755 --- a/forgebot_proper.sh +++ b/forgebot_proper.sh @@ -12,7 +12,7 @@ require_program() { fi done } -require_program curl jq websocat printf grep find sed mkdir touch rm mv mkfifo basename tty +require_program curl jq websocat printf grep find sed mkdir touch rm mv mkfifo basename tty git if ! [[ "$(grep --version)" = *GNU* ]]; then echo Using non-GNU grep. This can cause issues since we use some non standard grep options. exit 1 @@ -28,6 +28,7 @@ if [[ x"$HYPIXEL_KEY" == x ]]; then echo "Please set HYPIXEL_KEY to your hypixel api key" exit 1 fi +echo Data dir: "${DATA_DIR:-.}" source "$(dirname -- "$0")"/atrocity/load.sh source "$(dirname -- "$0")"/hypixel_api.sh source "$(dirname -- "$0")"/data.sh -- cgit