mirror of
https://github.com/mpv-player/mpv
synced 2025-02-26 02:05:31 +00:00
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:
parent
9495e9701b
commit
64d1a0d366
@ -179,11 +179,13 @@ fi
|
|||||||
|
|
||||||
filelist=`all_filenames`
|
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,
|
# generate 'shortlist' to avoid false positives in xpm files, docs, etc,
|
||||||
# when one only needs to check .c and .h files
|
# when one only needs to check .c and .h files
|
||||||
chfilelist=`echo $filelist | tr ' ' '\n' | grep "[\.][ch]$"`
|
chfilelist=`echo $filelist | tr ' ' '\n' | grep "[\.][ch]$"`
|
||||||
fi
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
if [ "$_showcont" = "yes" ]; then
|
if [ "$_showcont" = "yes" ]; then
|
||||||
_diffopts="-u"
|
_diffopts="-u"
|
||||||
|
Loading…
Reference in New Issue
Block a user