Fix syntax for OpenBSD sh

This commit is contained in:
Kirill A. Korinsky
2024-11-17 20:58:06 +01:00
parent 4e0686f73c
commit 3b8608761b
2 changed files with 4 additions and 4 deletions

View File

@@ -89,7 +89,7 @@ _use_metadata() {
_normalizeJson |
tr '{,}' '\n' |
while read -r _line; do
_key="$(echo "${_line%%:*}" | tr -d '"')"
_key="$(echo "${_line%%:*}" | tr -d \")"
_value="${_line#*:}"
_debug3 "_key" "$_key"
_secure_debug3 "_value" "$_value"