summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtests/fate/source-check.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fate/source-check.sh b/tests/fate/source-check.sh
index 33affae..ac2878d 100755
--- a/tests/fate/source-check.sh
+++ b/tests/fate/source-check.sh
@@ -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|"\
OpenPOWER on IntegriCloud