From: Chris Koeritz Date: Sun, 14 Apr 2013 17:47:17 +0000 (-0400) Subject: nice fixups for file lists. X-Git-Tag: 2.140.90~1013 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=f258046712b937613578bff8546c36c5b5d9f1fb;p=feisty_meow.git nice fixups for file lists. --- diff --git a/scripts/archival/search_arch.sh b/scripts/archival/search_arch.sh index 999a7fbe..523ccab7 100644 --- a/scripts/archival/search_arch.sh +++ b/scripts/archival/search_arch.sh @@ -28,7 +28,7 @@ TMPFILE="$(mktemp "$TMP/jarfinding.XXXXXX")" # locate all the archive files under the path. find "$dir" -iname "*.jar" -o -iname "*.zip" -o -iname "*.tar" \ - -o -iname "*.iar" -o -iname "*.oar" \ + -o -iname "*.iar" -o -iname "*.oar" -iname "*.bz2" \ >"$TMPFILE" while read line; do diff --git a/scripts/buildor/search_code.sh b/scripts/buildor/search_code.sh index 411f8cad..63576c5d 100644 --- a/scripts/buildor/search_code.sh +++ b/scripts/buildor/search_code.sh @@ -13,16 +13,24 @@ if [ -z "$dir" ]; then dir=. fi +#hmmm: we need to encode this useful logic as a list of binary file endings. find "$dir" -type f \( -iname "*" \ + ! -iname "*.bz2" \ ! -iname "*.class" \ ! -iname "*.dll" \ + ! -iname "*.deb" \ + ! -iname "*.dmg" \ ! -iname "*.exe" \ ! -iname "entries" \ ! -iname "*.git" \ ! -iname "*.gz" \ + ! -iname "*.iar" \ ! -iname "*.jar" \ ! -iname "*.lib" \ + ! -iname "*.oar" \ ! -iname "*.obj" \ + ! -iname "*.png" \ + ! -iname "*.snarf" \ ! -iname "*.svn" \ ! -iname "*.svn-base" \ ! -iname "*.tar" \