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)
committerJosef Schlehofer <[email protected]>
Mon, 30 Jun 2025 11:33:41 +0000 (13:33 +0200)
Fixes: 6746398cb ("yt-dlp: run CI test for the main package only")
Signed-off-by: George Sapkin <[email protected]>
(cherry picked from commit fa8425028aa73a5ea2dd8c30ca86439685de5b71)

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