astyle updates cosmetics, temporary file cleanups

This commit is contained in:
Juergen E. Fischer 2016-03-13 21:35:28 +01:00
parent e72a82e04f
commit 8c918aeaf3
2 changed files with 9 additions and 0 deletions

View File

@ -27,6 +27,12 @@ if [ -z "$ASTYLE" ]; then
exit 1
fi
if type -p tput >/dev/null; then
elcr="$(tput el)$(tput cr)"
else
elcr=" \r"
fi
if ! type -p flip >/dev/null; then
if type -p dos2unix >/dev/null; then
flip() {

View File

@ -30,6 +30,9 @@ find . \
-o -name "*.astyle" \
-o -name "sha*.diff" \
-o -name "*.bom" \
-o -name "*.bak" \
-o -name "*.rej" \
-o -name "*.orig" \
-o -name "*~" \
\) \
-print \