mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2025-02-05 20:08:23 +00:00
fix addon dir if BASHBOT_HOME is set
This commit is contained in:
parent
d0e9bd874b
commit
0ad70fda87
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user