From f7a81cf493024a58c0b20fe56fc3261df1350d09 Mon Sep 17 00:00:00 2001
From: Daniel <d.hornung@indiscale.com>
Date: Mon, 3 Feb 2025 11:30:31 +0100
Subject: [PATCH] FIX: patch shell script

---
 patches/patch20250130-8.0.1/patch.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/patches/patch20250130-8.0.1/patch.sh b/patches/patch20250130-8.0.1/patch.sh
index ccaaee8..bad63f1 100755
--- a/patches/patch20250130-8.0.1/patch.sh
+++ b/patches/patch20250130-8.0.1/patch.sh
@@ -38,7 +38,7 @@ check_version $OLD_VERSION
 
 # Get all tables, drop first line, take first column
 tables=$(mysql_execute "SHOW TABLE status where Collation='utf8mb3_unicode_ci';" -B | tail +2 | awk '{print $1}')
-for table in tables; do
+for table in $tables; do
     mysql_execute "ALTER TABLE $table CONVERT TO CHARACTER SET utf8mb4 COLLATE uca1400_as_ci;"
 done
 # mysql_execute "UPDATE data_type SET datatype=17 WHERE datatype=3"
-- 
GitLab