File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -36,12 +36,10 @@ bom-error:
3636 rm -f bom-error.log bom-error.sh
3737
3838trailing-whitespace-error :
39- ! find $(SOURCE_DIRS ) -regextype posix-egrep -regex ' .*\.(cpp|c|h|mo|tpl)$$' -exec echo -n " {} " ' ;' -exec grep -c " $$ " ' {}' ' ;' | \
40- grep -v " 0\$ $" | egrep -v ' /GenTest/|/antlr-3.2/|qjson-0.8.1|ParadisEO-2.0.1|OMPlot/qwt'
39+ ! find $(SOURCE_DIRS ) -regextype posix-egrep -regex ' .*\.(cpp|c|h|mo|tpl)$$' -exec echo -n " {} " ' ;' -exec grep -c " $$ " ' {}' ' ;' | grep -v " 0\$ $" | egrep -v ' /GenTest/|/antlr-3.2/|qjson-0.8.1|ParadisEO-2.0.1|OMPlot/qwt'
4140
4241tab-error :
43- ! find $(SOURCE_DIRS ) -regextype posix-egrep -regex ' .*\.(cpp|c|h|mo|tpl)$$' -exec echo -n " {} " ' ;' -exec grep -c " " ' {}' ' ;' | \
44- grep -v " 0\$ $" | egrep -v ' /GenTest/|/antlr-3.2/|Parser/MetaModelica_|Parser/ParModelica_|Parser/Modelica_3_|Parser/ModelicaParser'
42+ ! find $(SOURCE_DIRS ) -regextype posix-egrep -regex ' .*\.(cpp|c|h|mo|tpl)$$' -exec echo -n " {} " ' ;' -exec grep -c " " ' {}' ' ;' | grep -v " 0\$ $" | egrep -v ' /GenTest/|/antlr-3.2/|Parser/MetaModelica_|Parser/ParModelica_|Parser/Modelica_3_|Parser/ModelicaParser'
4543# Trims trailing whitespace and replaces tabs with spaces
4644fix-whitespace :
4745 find . -type f \( ! -path ' */.svn/*' -or -path ' */.git/*' -prune \) -regextype posix-egrep -regex ' .*\.(cpp|c|h|mo|tpl)$$' -exec sh -c ' sed -i -e "s/ / /g" -e "s/ *\$$//" "{}"' " ;"
You can’t perform that action at this time.
0 commit comments