mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 02:16:53 +08:00
NuttX shell scripts: replace operator == with =
- NuttX supports both versions - POSIX shell only supports '='
This commit is contained in:
@@ -6,7 +6,7 @@ set SERIAL_DEV none
|
||||
{% for serial_device in serial_devices -%}
|
||||
if param compare "$PRT" {{ serial_device.index }}
|
||||
then
|
||||
if [ "x$PRT_{{ serial_device.tag }}_" == "x" ]
|
||||
if [ "x$PRT_{{ serial_device.tag }}_" = "x" ]
|
||||
then
|
||||
set SERIAL_DEV {{ serial_device.device }}
|
||||
set BAUD_PARAM SER_{{ serial_device.tag }}_BAUD
|
||||
|
||||
Reference in New Issue
Block a user