From: Chris Koeritz Date: Wed, 19 Jun 2013 16:48:07 +0000 (-0400) Subject: added more patterns for binaries we don't want to search. X-Git-Tag: 2.140.90~973 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=b8df825515f1eda131bb9b3cd90b08b592f37260;p=feisty_meow.git added more patterns for binaries we don't want to search. --- 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" \