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

ivo subversion at mplayerhq.hu
Fri Jul 14 17:08:31 CEST 2006


Author: ivo
Date: Fri Jul 14 17:08:31 2006
New Revision: 19084

Modified:
   trunk/TOOLS/checktree.sh

Log:
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.



Modified: trunk/TOOLS/checktree.sh
==============================================================================
--- trunk/TOOLS/checktree.sh	(original)
+++ trunk/TOOLS/checktree.sh	Fri Jul 14 17:08:31 2006
@@ -257,8 +257,8 @@
 
 if [ "$_crlf" == "yes" ]; then
     printhead "checking for MSDOS line endings ..."
-    grep $_grepopts "
-" $filelist
+    CR=`echo " " | tr ' ' '\015'`
+    grep $_grepopts "$CR" $filelist
 fi
 
 # -----------------------------------------------------------------------------



More information about the MPlayer-cvslog mailing list