Skip to content

Commit

Permalink
Update manual.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
johnny096317 authored Jan 26, 2024
1 parent 5870de2 commit e5ca88a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)\""
Expand Down

0 comments on commit e5ca88a

Please sign in to comment.