diff options
Diffstat (limited to 'backomp')
-rwxr-xr-x | backomp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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}"]= || |