From 76ba926987986289f4fb99beadb8d5727a4c3db2 Mon Sep 17 00:00:00 2001 From: Gorgone Date: Thu, 27 Feb 2020 14:47:12 +0100 Subject: [PATCH] tryfix ARRAY NAMES --- s3 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/s3 b/s3 index edd7e00..7a9ba8f 100755 --- a/s3 +++ b/s3 @@ -37,9 +37,7 @@ mkdir -p "$tcdir/native/bin" 2>/dev/null; [ -L "$workdir/profiles" ] || ln -sf "$profdir" "$workdir/profiles" 2>/dev/null; #set arrays -array_names=( SHORT_PROTOCOLS SHORT_READERS SHORT_CARD_READERS AVAI_TCLIST MISS_TCLIST -SHORT_ADDONS DISABLED_MODULES SHORT_MODULENAMES ALL_MODULES_LONG INTERNAL_MODULES -ENABLED_MODULES INST_TCLIST SSH_CONF_CONTENT USE_vars USE_vars_disable s3cfg_vars ) +array_names=( SHORT_PROTOCOLS SHORT_READERS SHORT_CARD_READERS AVAI_TCLIST MISS_TCLIST SHORT_ADDONS DISABLED_MODULES SHORT_MODULENAMES ALL_MODULES_LONG INTERNAL_MODULES ENABLED_MODULES INST_TCLIST SSH_CONF_CONTENT USE_vars USE_vars_disable s3cfg_vars ) for a_n in "${array_names[@]}";do unset $a_n; declare -a $a_n; done