summaryrefslogtreecommitdiff
path: root/data.sh
diff options
context:
space:
mode:
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() {