1
mirror of https://github.com/mpv-player/mpv synced 2024-09-16 22:19:59 +02:00

only check source code for gnuisms

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25311 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ivo 2007-12-05 23:41:59 +00:00
parent 64d1a0d366
commit 86edf7b297

View File

@ -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
# -----------------------------------------------------------------------------