2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00

Apply 1 suggestion(s) to 1 file(s)

Co-authored-by: Andrei Pavel <andrei@isc.org>
This commit is contained in:
Thomas Markwalder
2024-07-17 11:34:18 +00:00
parent e3f91d94f5
commit 7d87bf4421

View File

@@ -418,8 +418,8 @@ pgsql_upgrade() {
# thru an env
export PGPASSWORD=$db_password
for script in "${upgrade_scripts_dir}"/upgrade*.sh
do
upgrade_scripts=$(find "${upgrade_scripts_dir}" -type f -name 'upgrade_*.sh' | sort -V)
for script in ${upgrade_scripts}; do
echo "Processing $script file..."
"${script}" -U "${db_user}" -h "${db_host}" \
-d "${db_name}" ${extra_arguments}