Skip to content

Commit

Permalink
astyle updates cosmetics, temporary file cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Mar 14, 2016
1 parent e72a82e commit 8c918ae
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/astyle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
3 changes: 3 additions & 0 deletions scripts/remove_temporary_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 8c918ae

Please sign in to comment.