K 10 svn:author V 6 kevans K 8 svn:date V 27 2022-09-18T06:28:50.958725Z K 7 svn:log V 527 zdiff: avoid non-conformant features `setvar` is a non-conformant feature that looks slightly neater but is not portable to other /bin/sh implementations. Making the script portable is straightforward, so let's do it. Tests are added to make sure that I didn't break anything major in the process. Reviewed by: bapt (previous version), jilles Sponsored by: Klara, Inc. (cherry picked from commit 5b7adeb1845c7491a655d2b2e1ab55d7b7b96a34) Git Hash: 56f9e6ff1dcaa23928089e382c6e21cf821b9ca1 Git Author: kevans@FreeBSD.org END