Skip to content

Commit

Permalink
- Fixed the fix-bom command (removed some BOM)
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@11185 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Feb 23, 2012
1 parent 6dca03a commit 920b75c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.in
Expand Up @@ -75,7 +75,7 @@ fix-svn-eol-style:
svn propset svn:eol-style LF `find . | grep /Makefile\$$`
svn propset svn:eol-style LF `find . | grep /Makefile.in\$$`
fix-bom:
find -type f|while read file;do [ "`head -c3 -- "$file"`" == $'\xef\xbb\xbf' ] && echo "found BOM in: $file"; && sed -i '1 s/^\xef\xbb\xbf//' "$file";done
find OMOptim/ -type f \( ! -path '*/.svn/*' -prune \) | while read file;do sed -i '1 s/^\xef\xbb\xbf//' "$$file";done

.PRECIOUS: Makefile

Expand Down

0 comments on commit 920b75c

Please sign in to comment.