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 7643905 commit 5870de2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ jobs:
#for ((i = 0; i < ${array_length}; i++)); do
#crlfile=$(cat ${sourcefile} | jq ".[$i].url" | sed 's/"//g')
wget $crlfile -O complete.crl
filename=$(cat ${sourcefile} | jq ".[$i].file" | sed 's/"//g')
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
echo $?
awk -v RS= '/----/{next}{gsub(/\n/,"\",\"")}BEGIN{printf "\""}7' temp > temp2
Expand Down

0 comments on commit 5870de2

Please sign in to comment.