Browse Source

fix acme.sh PR shfmt failure

pull/4832/head
ms264556 1 month ago
parent
commit
38c41b72d6
  1. 4
      deploy/ruckus.sh

4
deploy/ruckus.sh

@ -135,11 +135,11 @@ ruckus_deploy() {
} }
_response_code() { _response_code() {
< "$HTTP_HEADER" _egrep_o "^HTTP[^ ]* .*$" | cut -d " " -f 2-100 | tr -d "\f\n" | _egrep_o "^[0-9]*"
_egrep_o <"$HTTP_HEADER" "^HTTP[^ ]* .*$" | cut -d " " -f 2-100 | tr -d "\f\n" | _egrep_o "^[0-9]*"
} }
_response_header() { _response_header() {
< "$HTTP_HEADER" grep -i "^$1:" | cut -d ':' -f 2- | tr -d "\r\n\t "
grep <"$HTTP_HEADER" -i "^$1:" | cut -d ':' -f 2- | tr -d "\r\n\t "
} }
_response_cookie() { _response_cookie() {

Loading…
Cancel
Save