mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 21:21:42 +00:00
World4You using _egrep_o
This commit is contained in:
parent
2e97b20f94
commit
d7cafe25ff
@ -15,7 +15,7 @@ dns_world4you_add() {
|
|||||||
_debug fulldomain "$fqdn"
|
_debug fulldomain "$fqdn"
|
||||||
_debug txtvalue "$value"
|
_debug txtvalue "$value"
|
||||||
|
|
||||||
tld=$(echo "$fqdn" | grep -o '[^.]*\.[^.]*$')
|
tld=$(echo "$fqdn" | _egrep_o '[^.]*\.[^.]*$')
|
||||||
record=$(echo "$fqdn" | cut -c"1-$((${#fqdn} - ${#tld} - 1))")
|
record=$(echo "$fqdn" | cut -c"1-$((${#fqdn} - ${#tld} - 1))")
|
||||||
|
|
||||||
_login
|
_login
|
||||||
@ -69,7 +69,7 @@ dns_world4you_rm() {
|
|||||||
_debug fulldomain "$fqdn"
|
_debug fulldomain "$fqdn"
|
||||||
_debug txtvalue "$value"
|
_debug txtvalue "$value"
|
||||||
|
|
||||||
tld=$(echo "$fqdn" | grep -o '[^.]*\.[^.]*$')
|
tld=$(echo "$fqdn" | _egrep_o '[^.]*\.[^.]*$')
|
||||||
record=$(echo "$fqdn" | cut -c"1-$((${#fqdn} - ${#tld} - 1))")
|
record=$(echo "$fqdn" | cut -c"1-$((${#fqdn} - ${#tld} - 1))")
|
||||||
|
|
||||||
_login
|
_login
|
||||||
|
Loading…
Reference in New Issue
Block a user