load libraries just before calling main
gitea/evobackup/pipeline/head This commit looks good Details

This commit is contained in:
Jérémy Lecour 2023-01-16 09:58:17 +01:00 committed by Jérémy Lecour
parent 2ea9614e3c
commit 7784ba5548
1 changed files with 6 additions and 4 deletions

View File

@ -14,10 +14,6 @@
#
# Licence: AGPLv3
source ./lib/utilities.sh
source ./lib/dump.sh
source ./lib/main.sh
#######################################################################
#
# You must configure the MAIL variable to receive notifications.
@ -239,6 +235,12 @@ local_tasks() {
### log "LOCAL_TASKS - stop ${dump_file}"
### }
########## Libraries ##################################################
source ./lib/utilities.sh
source ./lib/dump.sh
source ./lib/main.sh
########## Optional configuration #####################################
# If you set a value (like "linux", "openbsd"…) it will be used,