Browse Source

tryfix ARRAY NAMES

pull/15/head
Gorgone 5 years ago
committed by GitHub
parent
commit
76ba926987
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      s3

4
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

Loading…
Cancel
Save