mirror of
https://github.com/mpv-player/mpv
synced 2025-02-09 08:27:18 +00:00
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
This commit is contained in:
parent
0928eb76d6
commit
9cdd15595d
@ -257,8 +257,8 @@ fi
|
|||||||
|
|
||||||
if [ "$_crlf" == "yes" ]; then
|
if [ "$_crlf" == "yes" ]; then
|
||||||
printhead "checking for MSDOS line endings ..."
|
printhead "checking for MSDOS line endings ..."
|
||||||
grep $_grepopts "
|
CR=`echo " " | tr ' ' '\015'`
|
||||||
" $filelist
|
grep $_grepopts "$CR" $filelist
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user