[MPlayer-cvslog] r25310 - trunk/TOOLS/checktree.sh

ivo subversion at mplayerhq.hu
Thu Dec 6 00:39:01 CET 2007


Author: ivo
Date: Thu Dec  6 00:39:01 2007
New Revision: 25310

Log:
simpler and more easily expandable test whether we need a shortlist that
only contains .[ch] files


Modified:
   trunk/TOOLS/checktree.sh

Modified: trunk/TOOLS/checktree.sh
==============================================================================
--- trunk/TOOLS/checktree.sh	(original)
+++ trunk/TOOLS/checktree.sh	Thu Dec  6 00:39:01 2007
@@ -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"



More information about the MPlayer-cvslog mailing list