Tools: fix style consistency in shell scripts "if [...]; then"

This commit is contained in:
Matthias Grob
2019-02-24 16:53:45 +01:00
committed by Daniel Agar
parent c21849b9b5
commit bee1835831
9 changed files with 38 additions and 75 deletions
+1 -2
View File
@@ -12,8 +12,7 @@ set i {{ command.instance }}
{% endif -%}
# get the device & baudrate
sh $PRT_F
if [ $SERIAL_DEV != none ]
then
if [ $SERIAL_DEV != none ]; then
{% if not constrained_flash -%}
echo "Starting {{ command.label }} on $SERIAL_DEV"
{% endif -%}