imp: remove useless "source" command

This commit is contained in:
Stéphan Sainléger
2024-11-26 09:13:14 +01:00
parent 91b9831975
commit 6ac98a48e9
13 changed files with 5 additions and 5 deletions

0
13.0/post_upgrade.sh Normal file → Executable file
View File

0
13.0/pre_upgrade.sh Normal file → Executable file
View File

0
13.0/upgrade.sh Normal file → Executable file
View File

0
14.0/post_upgrade.sh Normal file → Executable file
View File

0
14.0/pre_upgrade.sh Normal file → Executable file
View File

0
14.0/upgrade.sh Normal file → Executable file
View File

0
15.0/post_upgrade.sh Normal file → Executable file
View File

0
15.0/pre_upgrade.sh Normal file → Executable file
View File

0
15.0/upgrade.sh Normal file → Executable file
View File

0
16.0/post_upgrade.sh Normal file → Executable file
View File

0
16.0/pre_upgrade.sh Normal file → Executable file
View File

0
16.0/upgrade.sh Normal file → Executable file
View File

View File

@@ -131,7 +131,7 @@ echo "UPGRADE: Migration path is ${versions[@]}"
echo " echo "
==== DATABASE PREPARATION ====" ==== DATABASE PREPARATION ===="
source prepare_db.sh "$COPY_DB_NAME" "$COPY_DB_NAME" "$FINALE_DB_MODEL_NAME" "$FINALE_SERVICE_NAME" ./prepare_db.sh "$COPY_DB_NAME" "$COPY_DB_NAME" "$FINALE_DB_MODEL_NAME" "$FINALE_SERVICE_NAME" || exit 1
################### ###################
@@ -148,13 +148,13 @@ do
cd "${end_version}.0" cd "${end_version}.0"
### Execute pre_upgrade scripts ### Execute pre_upgrade scripts
source ./pre_upgrade.sh ./pre_upgrade.sh || exit 1
### Start upgrade ### Start upgrade
source ./upgrade.sh ./upgrade.sh || exit 1
### Execute post-upgrade scripts ### Execute post-upgrade scripts
source ./post_upgrade.sh ./post_upgrade.sh || exit 1
### Return to parent repository for the following steps ### Return to parent repository for the following steps
cd .. cd ..
@@ -165,7 +165,7 @@ done
########################## ##########################
# POST-UPGRADE PROCESSES # # POST-UPGRADE PROCESSES #
########################## ##########################
source finalize_db.sh "$FINALE_DB_NAME" "$FINALE_SERVICE_NAME" ./finalize_db.sh "$FINALE_DB_NAME" "$FINALE_SERVICE_NAME" || exit 1
echo "UPGRADE PROCESS ENDED WITH SUCCESS" echo "UPGRADE PROCESS ENDED WITH SUCCESS"