mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-10-21 21:31:51 +00:00
Fix list command for POSIX sh by avoiding brace expansion
This commit is contained in:
1 parent
d795cb4850
commit
b08bb2ef69
1 file changed
+2
-1
@@ -5845,7 +5845,8 @@ list() {
|
|||||||
if [ -z "$_domain" ]; then
|
if [ -z "$_domain" ]; then
|
||||||
printf "%s\n" "Main_Domain${_sep}KeyLength${_sep}SAN_Domains${_sep}Profile${_sep}CA${_sep}Created${_sep}Renew"
|
printf "%s\n" "Main_Domain${_sep}KeyLength${_sep}SAN_Domains${_sep}Profile${_sep}CA${_sep}Created${_sep}Renew"
|
||||||
fi
|
fi
|
||||||
for di in "${CERT_HOME}"/{*.*,*:*}/; do
|
for di in "${CERT_HOME}"/*.* "${CERT_HOME}"/*:*; do
|
||||||
|
[ -d "$di" ] || continue
|
||||||
d=$(basename "$di")
|
d=$(basename "$di")
|
||||||
_debug d "$d"
|
_debug d "$d"
|
||||||
(
|
(
|
||||||
|
|||||||