diff --git a/variables.sh b/variables.sh index d6734cae7..b11ffe46d 100644 --- a/variables.sh +++ b/variables.sh @@ -215,9 +215,9 @@ if [[ -z "${ALLSKY_VARIABLE_SET}" ]]; then # If a user wants to define new variables or assign variables differently, # then load their file if it exists. - # shellcheck disable=SC1090,SC1091 ALLSKY_USER_VARIABLES="${ALLSKY_CONFIG}/uservariables.sh" if [[ -f ${ALLSKY_USER_VARIABLES} ]]; then + # shellcheck disable=SC1090,SC1091 source "${ALLSKY_USER_VARIABLES}" else ALLSKY_USER_VARIABLES=""