From 75c81bbefa072eb58e61ff71488ce0260b56859e Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 9 Dec 2024 14:26:50 +0100 Subject: [PATCH] helpers: typo T_T --- helpers/helpers.v2.1.d/mysql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helpers/helpers.v2.1.d/mysql b/helpers/helpers.v2.1.d/mysql index c402d92c1b..9d32943f38 100644 --- a/helpers/helpers.v2.1.d/mysql +++ b/helpers/helpers.v2.1.d/mysql @@ -33,7 +33,7 @@ ynh_mysql_db_shell() { local default_character_set="" if [[ -n "$database" ]]; then default_character_set=$(mysql -B $database <<< 'show variables like "character_set_database";' | tail -n1 | cut -f2) - default_character_set="--default-character-set=$character_set" + default_character_set="--default-character-set=$default_character_set" fi mysql $character_set -B $database @@ -93,7 +93,7 @@ ynh_mysql_dump_db() { local default_character_set="" if [[ -n "$database" ]]; then default_character_set=$(mysql -B $database <<< 'show variables like "character_set_database";' | tail -n1 | cut -f2) - default_character_set="--default-character-set=$character_set" + default_character_set="--default-character-set=$default_character_set" fi mysqldump $default_character_set --single-transaction --skip-dump-date --routines "$database"