Commit 295de3ef authored by Michael Niedermayer's avatar Michael Niedermayer

fate/source-check.sh: Use "git show" instead of git --version to test for git

This fixes fate with non git source trees
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 00c73c47
......@@ -2,7 +2,7 @@
cd "$1"/..
git --version > /dev/null || { cat tests/ref/fate/source ; exit 0; }
git show > /dev/null 2> /dev/null || { cat tests/ref/fate/source ; exit 0; }
echo Files without standard license headers:
git grep -L -E "This file is part of FFmpeg|This file is part of libswresample|"\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment