mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-05-28 16:00:52 +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.
|
# This file is public domain in the USA and all free countries.
|
||||||
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
|
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
|
||||||
#
|
#
|
||||||
#### $$VERSION$$ v0.96-pre-27-gec7fce7
|
#### $$VERSION$$ v0.96-pre-28-gc2f4753
|
||||||
#
|
#
|
||||||
# Exit Codes:
|
# Exit Codes:
|
||||||
# - 0 sucess (hopefully)
|
# - 0 sucess (hopefully)
|
||||||
|
@ -230,9 +230,9 @@ if [ "${SOURCE}" != "yes" ]; then
|
||||||
ls -l "${COMMANDS}"
|
ls -l "${COMMANDS}"
|
||||||
exit 3
|
exit 3
|
||||||
fi
|
fi
|
||||||
# shellcheck source=./commands.sh
|
|
||||||
source "${COMMANDS}" "source"
|
|
||||||
fi
|
fi
|
||||||
|
# shellcheck source=./commands.sh
|
||||||
|
[ -r "${COMMANDS}" ] && source "${COMMANDS}" "source"
|
||||||
|
|
||||||
###############
|
###############
|
||||||
# load modules
|
# load modules
|
||||||
|
|
Loading…
Reference in New Issue
Block a user