NuttX shell scripts: replace operator == with =

- NuttX supports both versions
- POSIX shell only supports '='
This commit is contained in:
Beat Küng
2018-09-27 11:11:12 +02:00
committed by Lorenz Meier
parent 4c90d2c025
commit 37338e442f
75 changed files with 146 additions and 147 deletions
+1 -1
View File
@@ -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