summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-10-10 11:56:32 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-10-10 11:56:32 +0000
commit4ae13378950a69e2f3b138b17f75f000650e4720 (patch)
tree277b7caeb6c1e183a797e2fe537b7df33238c3b8
parent0191d4da79ae299449b22f6b31a542446ca43c2e (diff)
add FOREACH_SAFE macros to shell format fixing functions
SVN revision: 77754
-rw-r--r--aliases.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/aliases.sh b/aliases.sh
index cc57862..477e9a8 100644
--- a/aliases.sh
+++ b/aliases.sh
@@ -1,8 +1,8 @@
1cformat() { 1cformat() {
2 ecrustify -c svn/trunk/FORMATTING/ecrustify.cfg --replace $@ 2 ecrustify -c svn/trunk/FORMATTING/ecrustify.cfg --replace $@
3 sed -i 's/FOREACH (/FOREACH(/g;s/FREE (/FREE(/g' $@ 3 sed -i 's/FOREACH (/FOREACH(/g;s/FREE (/FREE(/g;s/FOREACH_SAFE (/FOREACH_SAFE(/g' $@
4} 4}
5hformat() { 5hformat() {
6 ecrustify -c svn/trunk/FORMATTING/ecrustify-headers.cfg --replace $@ 6 ecrustify -c svn/trunk/FORMATTING/ecrustify-headers.cfg --replace $@
7 sed -i 's/FOREACH (/FOREACH(/g;s/FREE (/FREE(/g' $@ 7 sed -i 's/FOREACH (/FOREACH(/g;s/FREE (/FREE(/g;s/FOREACH_SAFE (/FOREACH_SAFE(/g' $@
8} 8}