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:
@@ -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}
|
||||
|
Reference in New Issue
Block a user