diff options
Diffstat (limited to 'TOOLS/checktree.sh')
-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 # ----------------------------------------------------------------------------- |