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 23:39:20 +02:00
committed by Lorenz Meier
parent 4c90d2c025
commit 37338e442f
75 changed files with 146 additions and 147 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ then
set OUTPUT_DEV /dev/pwm_output0
if [ $OUTPUT_MODE == tap_esc ]
if [ $OUTPUT_MODE = tap_esc ]
then
set OUTPUT_DEV /dev/tap_esc
fi
@@ -40,7 +40,7 @@ else
fi
fi
if [ $OUTPUT_MODE == fmu -o $OUTPUT_MODE == io ]
if [ $OUTPUT_MODE = fmu -o $OUTPUT_MODE = io ]
then
if [ $PWM_OUT != none ]
then