From 9bea2cdd0afe0a1d4159c8ac287277ad7ebbff71 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Wed, 24 Jul 2013 14:56:15 +0200 Subject: [PATCH] Improvements in check-source.sh. --- build/check-source.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build/check-source.sh b/build/check-source.sh index 39302a8d..6ef8dcac 100755 --- a/build/check-source.sh +++ b/build/check-source.sh @@ -158,12 +158,12 @@ for file in $FILES; do fi fi - # Check for CR LF SVN prop + # Check for LF SVN prop if [ "$repo" = svn -a "$should_check_props" = true ]; then - if [ "$(svn propget svn:eol-style "$file")" != "CR" ]; then + if [ "$(svn propget svn:eol-style "$file")" != "LF" ]; then clean=false if [ "$fix" = true ]; then - svn propset svn:eol-style CR "$file" + svn propset svn:eol-style LF "$file" info "$file is missing svn:eol-style property" else error "$file is missing svn:eol-style property" @@ -242,3 +242,4 @@ else info "all $total_files source files appear to be OK, congratulations" fi +