fix addon dir if BASHBOT_HOME is set

This commit is contained in:
Kay Marquardt (Gnadelwartz) 2020-06-06 09:21:56 +02:00
parent d0e9bd874b
commit 0ad70fda87
1 changed files with 2 additions and 2 deletions

View File

@ -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