diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2023-03-27 02:26:18 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2023-03-27 02:26:18 -0700 |
commit | 406170b92dd9379a9f4791c3c285855b36f2af84 (patch) | |
tree | 8533b0b90aa716f0e98a94dd4a93468b5127acdc | |
parent | 670b632fd51bfbf4a003daefa4260e9c799c9ff8 (diff) | |
download | backomp-406170b92dd9379a9f4791c3c285855b36f2af84.tar.gz backomp-406170b92dd9379a9f4791c3c285855b36f2af84.tar.xz |
add support for comments in config
-rwxr-xr-x | backomp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -103,7 +103,7 @@ declare -A def_opts=( declare -A opts while IFS='=' read -r f1 f2; do - [[ -z "${f1}" ]] && continue + [[ -z "${f1}" ]] || [[ "${f1}" == '#'* ]] && continue if [[ "${f1}" =~ ^\[(.*)]$ ]]; then base_path="${BASH_REMATCH[1]}" |