mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-11-22 23:45:10 +00:00
always source commands.sh
This commit is contained in:
parent
c2f47535cc
commit
aec4e71dc8
@ -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-pre-27-gec7fce7
|
||||
#### $$VERSION$$ v0.96-pre-28-gc2f4753
|
||||
#
|
||||
# Exit Codes:
|
||||
# - 0 sucess (hopefully)
|
||||
@ -230,9 +230,9 @@ if [ "${SOURCE}" != "yes" ]; then
|
||||
ls -l "${COMMANDS}"
|
||||
exit 3
|
||||
fi
|
||||
# shellcheck source=./commands.sh
|
||||
source "${COMMANDS}" "source"
|
||||
fi
|
||||
# shellcheck source=./commands.sh
|
||||
[ -r "${COMMANDS}" ] && source "${COMMANDS}" "source"
|
||||
|
||||
###############
|
||||
# load modules
|
||||
|
Loading…
Reference in New Issue
Block a user