From 888e1ece639f1ba0b9dff7d26fe7d946cfb4e18a Mon Sep 17 00:00:00 2001 From: Harsha Maddi Date: Thu, 26 Jun 2025 08:09:05 -0400 Subject: [PATCH] Update acme.sh fix fmt issues. --- acme.sh | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/acme.sh b/acme.sh index c1149a5c..45319cd6 100755 --- a/acme.sh +++ b/acme.sh @@ -1871,32 +1871,32 @@ _mktemp() { # "https://[2001:420:2c7f:11:10:86:92:243]/acme/acme/authz/5B0PBcY4uSboiG7Pc19ltTjjsWCsqUay"], # "finalize":"https://[2001:420:2c7f:11:10:86:92:243]/acme/acme/order/3LlSglOPQbnGgy0I1wMbnxSVJrHnDqT2/finalize"}' _parse_authorizations() { - awk ' - BEGIN { - FS = ""; - inside = 0; - match_found = 0 - }{ - for (i = 1; i <= NF; i++) { - if (substr($0, i, 16) == "\"authorizations\"") { - match_found = 1 - } - if (match_found) { - if ($i == "[") { - inside++ - } - if (inside > 0 && (inside > 1 || ($i != "[" && $i != "]"))) { - printf "%s", $i - } - if ($i == "]") { - inside-- - if (inside == 0) { - print "" - match_found = 0 - } - } + awk ' + BEGIN { + FS = ""; + inside = 0; + match_found = 0 + }{ + for (i = 1; i <= NF; i++) { + if (substr($0, i, 16) == "\"authorizations\"") { + match_found = 1 + } + if (match_found) { + if ($i == "[") { + inside++ + } + if (inside > 0 && (inside > 1 || ($i != "[" && $i != "]"))) { + printf "%s", $i + } + if ($i == "]") { + inside-- + if (inside == 0) { + print "" + match_found = 0 } + } } + } }' }