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>
pull/258/head
Michael Niedermayer 8 years ago
parent 5f019909c0
commit ad7aff0355
  1. 2
      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:"

Loading…
Cancel
Save