aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/run_sanity.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/run_tests/run_sanity.sh')
-rwxr-xr-xtools/run_tests/run_sanity.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/run_tests/run_sanity.sh b/tools/run_tests/run_sanity.sh
index 32e25661fa..c18160a891 100755
--- a/tools/run_tests/run_sanity.sh
+++ b/tools/run_tests/run_sanity.sh
@@ -52,7 +52,7 @@ diff -u $submodules $want_submodules
rm $submodules $want_submodules
-if git ls-files cache.mk --error-unmatch &> /dev/null ; then
+if [ -f cache.mk ] ; then
echo "Please don't commit cache.mk"
exit 1
fi