]> git.plutz.net Git - serve0/commitdiff
bugfix: typo caused clearing of fields on update
authorPaul Hänsch <paul@plutz.net>
Wed, 17 Nov 2021 01:23:55 +0000 (02:23 +0100)
committerPaul Hänsch <paul@plutz.net>
Wed, 17 Nov 2021 01:23:55 +0000 (02:23 +0100)
db_meta.sh

index f194385ed9ce0bb6614ea24931c4f6dad4b38a98..ddbe911181f1d49e2d6090681030359895daa164 100755 (executable)
@@ -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}.$$"