From 67920a9954d4dd6c895195c9bf46b4c2f626f390 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 12 May 2013 01:36:34 -0400 Subject: jh-checksource: ignore more files * ignore everything with the "audio/*" type * ignore XML files * ignore OGG files * ignore "*.git" directories * ignore gettext files based on filename ('/po/^[^/]*.gmo$') --- jh-checksource.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jh-checksource.sh b/jh-checksource.sh index 4fa16b1..2120493 100644 --- a/jh-checksource.sh +++ b/jh-checksource.sh @@ -2,9 +2,9 @@ sep='' -safe_types_regexp=('^(inode|text|image|video)/') -safe_types_string=('application/pdf' 'application/postscript') -safe_files_regexp=('/\.(git|hg|svn)/') +safe_types_regexp=('^(inode|text|image|video|audio)/') +safe_types_string=('application/pdf' 'application/postscript' 'application/xml' 'application/ogg') +safe_files_regexp=('/\.(git|hg|svn)/' '/[^/]*\.git/' '/po/[^/]*.gmo$') safe_files_string=() # don't care about files less than 3 bytes. -- cgit v1.2.3-54-g00ecf