From: Paul Hänsch Date: Wed, 17 Nov 2021 01:23:55 +0000 (+0100) Subject: bugfix: typo caused clearing of fields on update X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=a19896a7cce70b09b1c1f646fa763b26a7f3d1c0;p=serve0 bugfix: typo caused clearing of fields on update --- diff --git a/db_meta.sh b/db_meta.sh index f194385..ddbe911 100755 --- a/db_meta.sh +++ b/db_meta.sh @@ -74,7 +74,7 @@ update_meta(){ "$(STRING "${name-$(UNSTRING "${NAME%${CR}}")}")" else printf '%i %i %i tags=%s comment=%s %s\r\n' \ - "$length" "$width" "$height" "${TAGS#tags=}" \ + "$LENGTH" "$WIDTH" "$HEIGHT" "${TAGS#tags=}" \ "${COMMENT#comment=}" "${NAME%${CR}}" fi done <"$meta_db" >"${meta_db}.$$"