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
+1 -1
View File
@@ -46,7 +46,7 @@ then
set BOARD_FMUV3 false
fi
if [ $BOARD_FMUV3 == true ]
if [ $BOARD_FMUV3 = true ]
then
# external L3GD20H is rotated 180 degrees yaw
if l3gd20 -X -R 4 start
+1 -1
View File
@@ -24,7 +24,7 @@ fi
# Try to mount the microSD card.
#
mount -t vfat /dev/mmcsd0 /fs/microsd
if [ $? == 0 ]
if [ $? = 0 ]
then
echo "[i] card mounted at /fs/microsd"
# Start playing the startup tune