simpler and more easily expandable test whether we need a shortlist that

only contains .[ch] files


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25310 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ivo 2007-12-05 23:39:01 +00:00
parent 9495e9701b
commit 64d1a0d366
1 changed files with 4 additions and 2 deletions

View File

@ -179,11 +179,13 @@ fi
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"