always source commands.sh

This commit is contained in:
Kay Marquardt (Gnadelwartz) 2020-06-10 14:02:29 +02:00
parent c2f47535cc
commit aec4e71dc8

View File

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