diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-07-26 16:51:15 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-07-26 16:51:15 -0400 |
commit | 3aaa02dbd7a9ec5aad66bb12d639004b8f01f451 (patch) | |
tree | b7e00cd33ea3d995b2fd435686db98522bd53d18 | |
parent | 3bc47deab0ec8288c5bf3f01a6f881c1e17bda70 (diff) |
-rw-r--r-- | jh-checksource.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/jh-checksource.sh b/jh-checksource.sh index 5296226..4aa932a 100644 --- a/jh-checksource.sh +++ b/jh-checksource.sh @@ -7,8 +7,12 @@ # Regular expressions are POSIX EREs, and must match the entirety of the string safe_dirs_glob=(.{git,hg,svn} '*.git') -safe_types_regexp=('(inode|text|image|video|audio)/.*' 'application/(pdf|postscript|xml|ogg)' message/rfc822) -safe_files_regexp=('.*/po/[^/]*.gmo' '.*\.(flw|odg|ppt)') +safe_types_regexp=( + '(inode|text|image|video|audio)/.*' + 'application/(pdf|postscript|xml|ogg|x-java-keystore)' + 'application/vnd\.ms-(office|powerpoint)' +) +safe_files_regexp=('.*/po/[^/]*.gmo' '.*\.(flw|odg)') safe_files_string=() # don't care about files less than 3 bytes ('c' is for characters) |