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: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 295de3efc53efa3945c3116b5a910b1464632358) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
bd0497b28b
commit
c40983a6f6
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
cd "$1"/..
|
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:
|
echo Files without standard license headers:
|
||||||
git grep -L -E "This file is part of FFmpeg|This file is part of libswresample|"\
|
git grep -L -E "This file is part of FFmpeg|This file is part of libswresample|"\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user