mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 10:46:33 +08:00
Tools: fix style consistency in shell scripts "if [...]; then"
This commit is contained in:
committed by
Daniel Agar
parent
c21849b9b5
commit
bee1835831
@@ -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 -%}
|
||||
|
||||
Reference in New Issue
Block a user