summaryrefslogtreecommitdiff
path: root/forgebot_proper.sh
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-10-17 12:52:26 +0200
committerLinnea Gräf <nea@nea.moe>2024-10-17 12:52:26 +0200
commit99c9026d7e3409170f1d4c23552cd6ffa71a4544 (patch)
treeebffc856c18eb636a5cb9ac82fb4b31119f0f15e /forgebot_proper.sh
parentb7bf0368732edbc9858035432ba86b6b9b23545c (diff)
downloadforgebot-99c9026d7e3409170f1d4c23552cd6ffa71a4544.tar.gz
forgebot-99c9026d7e3409170f1d4c23552cd6ffa71a4544.tar.bz2
forgebot-99c9026d7e3409170f1d4c23552cd6ffa71a4544.zip
Add auto repo cloneHEADmaster
Diffstat (limited to 'forgebot_proper.sh')
-rwxr-xr-xforgebot_proper.sh3
1 files changed, 2 insertions, 1 deletions
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