From 0ad70fda87ced765bb2249b002b3f4b99fbfbb98 Mon Sep 17 00:00:00 2001 From: "Kay Marquardt (Gnadelwartz)" Date: Sat, 6 Jun 2020 09:21:56 +0200 Subject: [PATCH] fix addon dir if BASHBOT_HOME is set --- bashbot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bashbot.sh b/bashbot.sh index 15229dc..60a87cc 100755 --- a/bashbot.sh +++ b/bashbot.sh @@ -11,7 +11,7 @@ # This file is public domain in the USA and all free countries. # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) # -#### $$VERSION$$ v0.96-dev3-4-gbc74141 +#### $$VERSION$$ v0.96-dev3-6-gd0e9bd8 # # Exit Codes: # - 0 sucess (hopefully) @@ -90,7 +90,7 @@ fi [ -z "${BASHBOT_ETC}" ] && BASHBOT_ETC="$BASHBOT_HOME" [ -z "${BASHBOT_VAR}" ] && BASHBOT_VAR="$BASHBOT_HOME" -ADDONDIR="${BASHBOT_ETC:-./addons}" +ADDONDIR="${BASHBOT_ETC:-.}/addons" RUNUSER="${USER}" # USER is overwritten by bashbot array # OK everthing setup, lest start