summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbackomp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backomp b/backomp
index 13a4b3c..460584c 100755
--- a/backomp
+++ b/backomp
@@ -111,7 +111,7 @@ while IFS='=' read -r f1 f2; do
if [[ "${f1}" =~ ^\[(.*)]$ ]]; then
base_path="${BASH_REMATCH[1]}"
- opts="$(declare -p def_opts | sed '1s/[^=]*=//')"
+ declare -A opts="$(declare -p def_opts | sed '1s/[^=]*=//')"
elif [[ "${f1}" == '$'* ]]; then
opt="${f1:1}"
[[ "${f2}" == '-' ]] && opts["${opt}"]= ||