[MPlayer-cvslog] r25311 - trunk/TOOLS/checktree.sh
ivo
subversion at mplayerhq.hu
Thu Dec 6 00:41:59 CET 2007
Author: ivo
Date: Thu Dec 6 00:41:59 2007
New Revision: 25311
Log:
only check source code for gnuisms
Modified:
trunk/TOOLS/checktree.sh
Modified: trunk/TOOLS/checktree.sh
==============================================================================
--- trunk/TOOLS/checktree.sh (original)
+++ trunk/TOOLS/checktree.sh Thu Dec 6 00:41:59 2007
@@ -179,7 +179,7 @@ fi
filelist=`all_filenames`
-case "$_stupid$_res$_depr" in
+case "$_stupid$_res$_depr$_gnu" in
*yes*)
# generate 'shortlist' to avoid false positives in xpm files, docs, etc,
# when one only needs to check .c and .h files
@@ -253,9 +253,9 @@ fi
# -----------------------------------------------------------------------------
-if [ "$_gnu" = "yes" ]; then
+if [ "$_gnu" = "yes" -a -n "$chfilelist" ]; then
printhead "checking for GNUisms ..."
- grep $_grepopts "case.*\.\.\..*:" $filelist
+ grep $_grepopts "case.*\.\.\..*:" $chfilelist
fi
# -----------------------------------------------------------------------------
More information about the MPlayer-cvslog
mailing list