diff options
author | ivo <ivo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-14 15:08:31 +0000 |
---|---|---|
committer | ivo <ivo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-14 15:08:31 +0000 |
commit | 9cdd15595d0dca99d797de78ad52a9aec3de1f66 (patch) | |
tree | 249ee5b052b9569c62393489334665ef197d47e0 /TOOLS | |
parent | 0928eb76d6607f949268e12616a35f8883c4c403 (diff) | |
download | mpv-9cdd15595d0dca99d797de78ad52a9aec3de1f66.tar.bz2 mpv-9cdd15595d0dca99d797de78ad52a9aec3de1f66.tar.xz |
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
Diffstat (limited to 'TOOLS')
-rwxr-xr-x | TOOLS/checktree.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 # ----------------------------------------------------------------------------- |