yt-dlp: don't hide error messages in CI test
authorGeorge Sapkin <[email protected]>
Sun, 29 Jun 2025 16:08:34 +0000 (19:08 +0300)
committerTianling Shen <[email protected]>
Mon, 30 Jun 2025 03:48:41 +0000 (11:48 +0800)
Fixes: 6746398cb ("yt-dlp: run CI test for the main package only")
Signed-off-by: George Sapkin <[email protected]>
multimedia/yt-dlp/test.sh

index eed84efa4798fa74de4e831504f051230e231991..f197e32b6bae5cf93306fd966381a75cbfce1d47 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
 
 if [ "$1" = 'yt-dlp' ]; then
-       yt-dlp --version 2>&1 | sed 's/\.0\+/./g' | grep -x "$PKG_VERSION"
+       yt-dlp --version | sed 's/\.0\+/./g' | grep -F "$PKG_VERSION"
 fi