From c9dff70d996904ba402abaa5188b79768aff3a09 Mon Sep 17 00:00:00 2001 From: Jeroen Date: Tue, 12 Nov 2024 15:15:17 +0200 Subject: [PATCH] Add brackets to local -n MOD_ARRAY= --- executables/install_mods.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/executables/install_mods.sh b/executables/install_mods.sh index 949443a..c90024a 100644 --- a/executables/install_mods.sh +++ b/executables/install_mods.sh @@ -73,7 +73,7 @@ function check_mod_names_and_mods_array_lengths () { }; function replace_mods_value () { - local -n MOD_ARRAY=$1 + local -n MOD_ARRAY="$1" local LINUXGSM_SERVER_CONFIG="/app/lgsm/config-lgsm/arma3server/arma3server.cfg" local MOD_LIST=""