From b8df825515f1eda131bb9b3cd90b08b592f37260 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Wed, 19 Jun 2013 12:48:07 -0400 Subject: [PATCH] added more patterns for binaries we don't want to search. --- scripts/buildor/search_code.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/buildor/search_code.sh b/scripts/buildor/search_code.sh index 63576c5d..7e0b1cee 100644 --- a/scripts/buildor/search_code.sh +++ b/scripts/buildor/search_code.sh @@ -15,6 +15,8 @@ fi #hmmm: we need to encode this useful logic as a list of binary file endings. find "$dir" -type f \( -iname "*" \ + ! -iname "*~" \ + ! -iname "*.bin" \ ! -iname "*.bz2" \ ! -iname "*.class" \ ! -iname "*.dll" \ @@ -31,6 +33,8 @@ find "$dir" -type f \( -iname "*" \ ! -iname "*.obj" \ ! -iname "*.png" \ ! -iname "*.snarf" \ + ! -iname "*.so" \ + ! -iname "*.so.2" \ ! -iname "*.svn" \ ! -iname "*.svn-base" \ ! -iname "*.tar" \ -- 2.34.1