mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-31 10:27:22 +00:00 
			
		
		
		
	fix whitespace and UUOC
This commit is contained in:
		
							parent
							
								
									76a3371b40
								
							
						
					
					
						commit
						88ed5e506a
					
				| @ -80,7 +80,7 @@ _dns_do_soap() { | |||||||
|   shift |   shift | ||||||
|   # put the parameters to xml |   # put the parameters to xml | ||||||
|   body="<tns:${func} xmlns:tns=\"${DO_URL}\">" |   body="<tns:${func} xmlns:tns=\"${DO_URL}\">" | ||||||
|   while [ "$1" ] ; do |   while [ "$1" ]; do | ||||||
|     _k="$1" |     _k="$1" | ||||||
|     shift |     shift | ||||||
|     _v="$1" |     _v="$1" | ||||||
| @ -108,7 +108,7 @@ _dns_do_soap() { | |||||||
|   _debug2 "SOAP response $response" |   _debug2 "SOAP response $response" | ||||||
| 
 | 
 | ||||||
|   # retrieve cookie header |   # retrieve cookie header | ||||||
|   cat "$HTTP_HEADER" | _egrep_o 'Cookie: [^;]+' | head -1 > "${_cookiejar}" |   _egrep_o 'Cookie: [^;]+' < "$HTTP_HEADER" | head -1 >"${_cookiejar}" | ||||||
| 
 | 
 | ||||||
|   return 0 |   return 0 | ||||||
| } | } | ||||||
| @ -119,7 +119,7 @@ _get_root() { | |||||||
| 
 | 
 | ||||||
|   _all_domains="$(_mktemp)" |   _all_domains="$(_mktemp)" | ||||||
|   _dns_do_soap getDomainList |   _dns_do_soap getDomainList | ||||||
|   echo "${response}" | tr -d "\n\r\t " | _egrep_o 'domain</key><value[^>]+>[^<]+' | sed -e 's/^domain<\/key><value[^>]+>//g' > "${_all_domains}" |   echo "${response}" | tr -d "\n\r\t " | _egrep_o 'domain</key><value[^>]+>[^<]+' | sed -e 's/^domain<\/key><value[^>]+>//g' >"${_all_domains}" | ||||||
| 
 | 
 | ||||||
|   while true; do |   while true; do | ||||||
|     h=$(printf "%s" "$domain" | cut -d . -f $i-100) |     h=$(printf "%s" "$domain" | cut -d . -f $i-100) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user