summaryrefslogtreecommitdiff
path: root/data.sh
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-10-17 12:44:39 +0200
committerLinnea Gräf <nea@nea.moe>2024-10-17 12:44:39 +0200
commitb7bf0368732edbc9858035432ba86b6b9b23545c (patch)
tree31e6cff7eb72ebe46dd6a7bdabd4bf05d8bd266d /data.sh
parent6b85dda202b6305b38100a474037e5f05ed7b48d (diff)
downloadforgebot-b7bf0368732edbc9858035432ba86b6b9b23545c.tar.gz
forgebot-b7bf0368732edbc9858035432ba86b6b9b23545c.tar.bz2
forgebot-b7bf0368732edbc9858035432ba86b6b9b23545c.zip
Add docker file
Diffstat (limited to 'data.sh')
-rw-r--r--data.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/data.sh b/data.sh
index a8cd51b..adf034e 100644
--- a/data.sh
+++ b/data.sh
@@ -1,4 +1,4 @@
-export FORGEBOT_DATA_DIR="forgebotdata"
+export FORGEBOT_DATA_DIR="${DATA_DIR:-.}/forgebotdata"
mkdir -p "$FORGEBOT_DATA_DIR"
list_all_watched_accounts() {