mirror of
https://github.com/mpv-player/mpv
synced 2025-02-02 21:21:33 +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
|
||||
printhead "checking for MSDOS line endings ..."
|
||||
grep $_grepopts "
|
||||
" $filelist
|
||||
CR=`echo " " | tr ' ' '\015'`
|
||||
grep $_grepopts "$CR" $filelist
|
||||
fi
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user