export BASHBOT_HOME _ETC _VAR in bin/bashbot_env.inc

This commit is contained in:
Kay Marquardt (Gnadelwartz) 2020-12-25 19:42:58 +01:00
parent f016598054
commit ffc1ecf7be

View File

@ -13,11 +13,13 @@
# AUTHOR: KayM (gnadelwartz), kay@rrr.de
# CREATED: 18.12.2020 12:27
#
#### $$VERSION$$ v1.2-dev2-74-g0b7cd8a
#### $$VERSION$$ v1.2-dev2-75-gf016598
#===============================================================================
############
# set where your bashbot lives
export BASHBOT_HOME BASHBOT_ETC BASHBOT_VAR
# default: one dir up
BASHBOT_HOME="$(cd "${BASH_SOURCE[0]%/*}" >/dev/null 2>&1 && pwd)/../"
[ "${BASHBOT_HOME}" = "/../" ] && BASHBOT_HOME="../"