From eb187ae750ba4cea786ade9334f2e67776f880d0 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 13 Nov 2024 00:10:11 +0000 Subject: [PATCH] Bug 34088: (follow-up) fix env vars in koha-upgrade-schema Signed-off-by: Phil Ringnalda --- debian/scripts/koha-upgrade-schema | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/scripts/koha-upgrade-schema b/debian/scripts/koha-upgrade-schema index 14ad1cd73d..66a52b0f66 100755 --- a/debian/scripts/koha-upgrade-schema +++ b/debian/scripts/koha-upgrade-schema @@ -43,7 +43,10 @@ do echo "Upgrading database schema for $name" KOHA_CONF="/etc/koha/sites/$name/koha-conf.xml" \ PERL5LIB=$PERL5LIB \ - "$CGI_PATH/installer/data/mysql/needs_update.pl" && "$CGI_PATH/installer/data/mysql/updatedatabase.pl" + "$CGI_PATH/installer/data/mysql/needs_update.pl" && \ + KOHA_CONF="/etc/koha/sites/$name/koha-conf.xml" \ + PERL5LIB=$PERL5LIB \ + "$CGI_PATH/installer/data/mysql/updatedatabase.pl" else die "Error: Invalid instance name $name" fi -- 2.44.0