summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2015-04-03 15:19:02 -0700
committerKevin Mitchell <kevmitch@gmail.com>2015-04-03 15:19:02 -0700
commit2c7209ffa8369c783ca7168c9cd869a5e779bf83 (patch)
tree219ddb3a6ccd75e9efe89015eec1a5fa6a7f6299
parent0bc9bc65d553dcd061d5f35e2aa03b790c126877 (diff)
downloadmpv-build-2c7209ffa8369c783ca7168c9cd869a5e779bf83.tar.bz2
mpv-build-2c7209ffa8369c783ca7168c9cd869a5e779bf83.tar.xz
quiet grep for ffmpeg ssl libraries
-rwxr-xr-xscripts/ffmpeg-config4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/ffmpeg-config b/scripts/ffmpeg-config
index 3c0be56..0bbc217 100755
--- a/scripts/ffmpeg-config
+++ b/scripts/ffmpeg-config
@@ -16,8 +16,8 @@ fi
OPTIONS="$OPTIONS $USER_OPTS"
# Do FFmpeg's job.
-if ! ( echo "$OPTIONS" | grep -e --enable-openssl ) &&
- ! ( echo "$OPTIONS" | grep -e --enable-gnutls ) ;
+if ! ( echo "$OPTIONS" | grep -q -e --enable-openssl ) &&
+ ! ( echo "$OPTIONS" | grep -q -e --enable-gnutls ) ;
then
if pkg-config gnutls ; then
OPTIONS="$OPTIONS --enable-gnutls"