Fix list command for POSIX sh by avoiding brace expansion

This commit is contained in:
Jacobo de Vera
2026-01-02 12:08:22 +00:00
parent d795cb4850
commit b08bb2ef69

View File

@@ -5845,7 +5845,8 @@ list() {
if [ -z "$_domain" ]; then
printf "%s\n" "Main_Domain${_sep}KeyLength${_sep}SAN_Domains${_sep}Profile${_sep}CA${_sep}Created${_sep}Renew"
fi
for di in "${CERT_HOME}"/{*.*,*:*}/; do
for di in "${CERT_HOME}"/*.* "${CERT_HOME}"/*:*; do
[ -d "$di" ] || continue
d=$(basename "$di")
_debug d "$d"
(