]> git.proxmox.com Git - mirror_acme.sh.git/commit - acme.sh
arguments passed to printf are more generic
authorJeff Goeke-Smith <goekesmi@hey.com>
Thu, 29 Apr 2021 20:46:32 +0000 (16:46 -0400)
committerGitHub <noreply@github.com>
Thu, 29 Apr 2021 20:46:32 +0000 (16:46 -0400)
commit81b2d0732f6a8db79f7059c5fb0dccdf02783387
treef6d39d6242280aaa61ef1c98737d23dc2d6bbbe3
parentedd46eb3d1bb3698b80d9beba79ba1be0c9b59e4
arguments passed to printf are more generic

On systems that /bin/sh is served by shells other than bash, or
shells that don't implement the same syntax as the bash printf builtin,
printf -- fails to produce the output necessary for standalone operation.

The test case for this was SmartOS, which uses ksh93 as its /bin/sh.

This change uses the more generic method of passing a format parameter
of a single string, and then the argument to replace it with.
acme.sh