# HG changeset patch # User Mads Kiilerich # Date 1482636475 -3600 # Node ID 6e952212bf0639c6858faf320a0e9b40dc14ed91 # Parent 184c78cfded19b707f556e49198030b465faf2b4 scripts: ensure unix line endings diff -r 184c78cfded1 -r 6e952212bf06 scripts/whitespacecleanup.sh --- a/scripts/whitespacecleanup.sh Fri Jan 06 01:43:50 2017 +0100 +++ b/scripts/whitespacecleanup.sh Sun Dec 25 04:27:55 2016 +0100 @@ -4,6 +4,7 @@ files=`hg mani | egrep -v '/codemirror/|/fontello/|/email_templates/|(/lockfiles.py|^LICENSE-MERGELY.html|^docs/Makefile|^scripts/whitespacecleanup.sh|/(graph|mergely|native.history|select2/select2|yui.flot|yui.2.9|jquery.dataTables)\.js|/test_dump_html_mails.ref.html|\.png|\.gif|\.ico|\.pot|\.po|\.mo|\.tar\.gz|\.diff)$'` +sed -i "s/`printf '\r'`//g" $files sed -i -e "s,`printf '\t'`, ,g" $files sed -i -e "s, *$,,g" $files sed -i -e 's,\([^ ]\)\\$,\1 \\,g' -e 's,\(["'"'"']["'"'"']["'"'"']\) \\$,\1\\,g' $files