From 6d0575dcfbd36f2846ac0904971736cc1a2b32b8 Mon Sep 17 00:00:00 2001
From: Craig Tiller <craig.tiller@gmail.com>
Date: Tue, 1 Sep 2015 13:37:36 -0700
Subject: [PATCH] Fix sanity

---
 tools/run_tests/run_sanity.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/run_tests/run_sanity.sh b/tools/run_tests/run_sanity.sh
index da85ad5872..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
-- 
GitLab