[FFmpeg-cvslog] tests/fate/source-check: Use git grep in place of grep

Michael Niedermayer git at videolan.org
Thu Mar 30 04:12:52 EEST 2017


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Thu Mar 30 02:41:10 2017 +0200| [ad7aff035517e0639c66f2003243c388450a86ac] | committer: Michael Niedermayer

tests/fate/source-check: Use git grep in place of grep

grep -L is not posix, solaris default grep does not support it

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ad7aff035517e0639c66f2003243c388450a86ac
---

 tests/fate/source-check.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/fate/source-check.sh b/tests/fate/source-check.sh
index f108d69..5f3fd89 100755
--- a/tests/fate/source-check.sh
+++ b/tests/fate/source-check.sh
@@ -27,7 +27,7 @@ for f in `git ls-files | grep '\.h$'` ; do
         -e 's/_vaf_/_/' \
     | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
 
-    grep -L "^#define $macro$" $f
+    git grep -L "^#define $macro$" $f
 done
 
 echo "Use of av_clip() where av_clip_uintp2() could be used:"



More information about the ffmpeg-cvslog mailing list