Skip to content

Commit 8c918ae

Browse files
committedMar 14, 2016
astyle updates cosmetics, temporary file cleanups
1 parent e72a82e commit 8c918ae

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
 

‎scripts/astyle.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ if [ -z "$ASTYLE" ]; then
2727
exit 1
2828
fi
2929

30+
if type -p tput >/dev/null; then
31+
elcr="$(tput el)$(tput cr)"
32+
else
33+
elcr=" \r"
34+
fi
35+
3036
if ! type -p flip >/dev/null; then
3137
if type -p dos2unix >/dev/null; then
3238
flip() {

‎scripts/remove_temporary_files.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ find . \
3030
-o -name "*.astyle" \
3131
-o -name "sha*.diff" \
3232
-o -name "*.bom" \
33+
-o -name "*.bak" \
34+
-o -name "*.rej" \
35+
-o -name "*.orig" \
3336
-o -name "*~" \
3437
\) \
3538
-print \

0 commit comments

Comments
 (0)
Please sign in to comment.