Skip to content

Commit a6d2353

Browse files
committed
WSL syntax
1 parent d4ffbd5 commit a6d2353

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/samples.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)