File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -561,16 +561,16 @@ jobs:
561561
562562 for file in *.mkv; do
563563 echo "Verifying $file with mkvinfo:"
564- output=$( mkvinfo -v -X "$file")
564+ mkvinfo -v -X "${ file}" > mkvinfo_output.txt
565565 found_notification=false
566566 found_image=false
567567
568- if echo "$output" | grep -q "AWS_KINESISVIDEO_NOTIFICATION"; then
568+ if grep -q "AWS_KINESISVIDEO_NOTIFICATION" "mkvinfo_output.txt "; then
569569 found_notification=true
570570 echo "Found AWS_KINESISVIDEO_NOTIFICATION in $file"
571571 fi
572572
573- if echo "$output" | grep -q "AWS_KINESISVIDEO_IMAGE_GENERATION"; then
573+ if grep -q "AWS_KINESISVIDEO_IMAGE_GENERATION" "mkvinfo_output.txt "; then
574574 found_image=true
575575 echo "Found AWS_KINESISVIDEO_IMAGE_GENERATION in $file"
576576 fi
You can’t perform that action at this time.
0 commit comments