From e5ca88ab0a70ac391ba2b9477df4f70703f8be0b Mon Sep 17 00:00:00 2001 From: johnny096317 <68207841+johnny096317@users.noreply.github.com> Date: Fri, 26 Jan 2024 09:41:27 +0800 Subject: [PATCH] Update manual.yml --- .github/workflows/manual.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index 7540acf..4e51584 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -29,7 +29,7 @@ jobs: wget $crlfile -O complete.crl filename=$(cat ${sourcefile} | jq ".[6].file" | sed 's/"//g') openssl crl -nameopt utf8 -inform DER -text -in complete.crl - openssl crl -nameopt utf8 -inform DER -text -in complete.crl | grep "Serial Number" | cut -d " " -f 7 > temp + openssl crl -nameopt utf8 -inform DER -text -in complete.crl | grep "Serial Number" && cut -d " " -f 7 > temp echo $? awk -v RS= '/----/{next}{gsub(/\n/,"\",\"")}BEGIN{printf "\""}7' temp > temp2 SN="$(cat temp2)\""