Mercurial > mplayer.hg
changeset 25282:5ed3c0a5cf4f
simpler and more easily expandable test whether we need a shortlist that
only contains .[ch] files
author | ivo |
---|---|
date | Wed, 05 Dec 2007 23:39:01 +0000 |
parents | cf9a7a933032 |
children | de8cc2372b05 |
files | TOOLS/checktree.sh |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/TOOLS/checktree.sh Wed Dec 05 23:36:03 2007 +0000 +++ b/TOOLS/checktree.sh Wed Dec 05 23:39:01 2007 +0000 @@ -179,11 +179,13 @@ filelist=`all_filenames` -if [ "$_stupid" = "yes" -o "$_res" = "yes" -o "$_depr" = "yes" ] ; then +case "$_stupid$_res$_depr" in + *yes*) # generate 'shortlist' to avoid false positives in xpm files, docs, etc, # when one only needs to check .c and .h files chfilelist=`echo $filelist | tr ' ' '\n' | grep "[\.][ch]$"` -fi + ;; +esac if [ "$_showcont" = "yes" ]; then _diffopts="-u"