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@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2017-03-30 02:41:10 +02:00
parent 5f019909c0
commit ad7aff0355

View File

@ -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:"