summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-05-12 01:36:34 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-05-12 01:36:34 -0400
commit67920a9954d4dd6c895195c9bf46b4c2f626f390 (patch)
treefd0f5e6f57d6dc18add883d60331152e29e2b6c5
parent1d71908413e2e93eda40be2ab44b3fdcd751e6bc (diff)
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$')
-rw-r--r--jh-checksource.sh6
1 files 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='<no-filename-ever-contains-this>'
-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.