Skip to content

Commit b08bb2e

Browse files
committed
Fix list command for POSIX sh by avoiding brace expansion
1 parent d795cb4 commit b08bb2e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

acme.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5845,7 +5845,8 @@ list() {
58455845
if [ -z "$_domain" ]; then
58465846
printf "%s\n" "Main_Domain${_sep}KeyLength${_sep}SAN_Domains${_sep}Profile${_sep}CA${_sep}Created${_sep}Renew"
58475847
fi
5848-
for di in "${CERT_HOME}"/{*.*,*:*}/; do
5848+
for di in "${CERT_HOME}"/*.* "${CERT_HOME}"/*:*; do
5849+
[ -d "$di" ] || continue
58495850
d=$(basename "$di")
58505851
_debug d "$d"
58515852
(

0 commit comments

Comments
 (0)