From 9cdd15595d0dca99d797de78ad52a9aec3de1f66 Mon Sep 17 00:00:00 2001 From: ivo Date: Fri, 14 Jul 2006 15:08:31 +0000 Subject: fix matching of MSDOS line endings The CVS-->Subversion conversion removed the ^M and it is impossible to check one back in. Setting svn:eol-style to CRLF or CR is not an option because it will change the whole file. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19084 b3059339-0415-0410-9bf9-f77b7e298cf2 --- TOOLS/checktree.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'TOOLS') diff --git a/TOOLS/checktree.sh b/TOOLS/checktree.sh index dcd2b8609f..8617c169ea 100755 --- a/TOOLS/checktree.sh +++ b/TOOLS/checktree.sh @@ -257,8 +257,8 @@ fi if [ "$_crlf" == "yes" ]; then printhead "checking for MSDOS line endings ..." - grep $_grepopts " -" $filelist + CR=`echo " " | tr ' ' '\015'` + grep $_grepopts "$CR" $filelist fi # ----------------------------------------------------------------------------- -- cgit v1.2.3