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)\""