mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-07-07 23:27:00 +00:00
Fix CI fails
This commit is contained in:
parent
4b05146cf3
commit
84fdde7f46
@ -63,7 +63,11 @@ dns_dnsever_rm() {
|
||||
#################### Private functions below ##################################
|
||||
|
||||
dnsever_txt() {
|
||||
action="$1"; login_id="$2"; login_password="$3"; fulldomain="$4"; txt="$5"
|
||||
action="$1"
|
||||
login_id="$2"
|
||||
login_password="$3"
|
||||
fulldomain="$4"
|
||||
txt="$5"
|
||||
|
||||
_inithttp
|
||||
|
||||
@ -185,10 +189,12 @@ dnsever_txt(){
|
||||
}
|
||||
|
||||
dnsever_select_user_domain() {
|
||||
fulldomain="$1"; response="$2"
|
||||
fulldomain="$1"
|
||||
response="$2"
|
||||
|
||||
domains=$(printf "%s\n" "$response" | grep OPTION | sed -n -e "s/^.*value=['\"]\(.*\)['\"].*/\1/p" | grep -v "^$")
|
||||
nmax=0; selected=""
|
||||
nmax=0
|
||||
selected=""
|
||||
for domain in $domains; do
|
||||
if echo "$fulldomain" | grep -q "$domain\$"; then
|
||||
n=${#domain}
|
||||
@ -203,7 +209,7 @@ dnsever_select_user_domain(){
|
||||
|
||||
dnsever_check() {
|
||||
fulldomain="$1"
|
||||
old_txt="$1"
|
||||
old_txt="$2"
|
||||
response="$3"
|
||||
|
||||
matched=$(printf "%s\n" "$response" | grep "$fulldomain" | sed -n -e "s/^.*name=['\"]\(.*\)['\"].*value.*$/\1/p" | sed 's/domain_for_txt_//g')
|
||||
|
Loading…
x
Reference in New Issue
Block a user