From 31821a44aaee33b303502c98fae19b321595a0e6 Mon Sep 17 00:00:00 2001 From: jgoppert Date: Thu, 5 Nov 2015 13:33:35 -0500 Subject: [PATCH] Fixed formatting script. --- scripts/format.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/format.sh b/scripts/format.sh index 5e5863f141..bd06600bff 100755 --- a/scripts/format.sh +++ b/scripts/format.sh @@ -7,10 +7,10 @@ format_wildcards=""" ./test/*.*pp """ -echo astyle: $astyle -echo format: $format +#echo astyle: $astyle +#echo format: $format -if [[ $format ]] +if [[ $format -eq 1 ]] then echo formatting $astyle ${format_wildcards} @@ -22,4 +22,6 @@ else echo need to format exit 1 fi + echo no formatting needed + exit 0 fi