mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-27 07:21:53 +00:00
World4You using _egrep_o instead of grep -E
This commit is contained in:
parent
0ed2659698
commit
1987c32761
@ -169,7 +169,7 @@ _get_paketnr() {
|
||||
fqdn="$1"
|
||||
form="$2"
|
||||
|
||||
domains=$(echo "$form" | _ggrep -E '^\s*([A-Za-z0-9_-]+\.)+[A-Za-z0-9_-]*$' | sed 's/^\s*\(\S*\)$/\1/')
|
||||
domains=$(echo "$form" | _egrep_o '^\s*([A-Za-z0-9_-]+\.)+[A-Za-z0-9_-]*$' | sed 's/^\s*\(\S*\)$/\1/')
|
||||
domain=''
|
||||
for domain in $domains; do
|
||||
if echo "$fqdn" | grep -q "$domain\$"; then
|
||||
|
Loading…
Reference in New Issue
Block a user