forked from Archive/PX4-Autopilot
Fix comparison in upload script for test builds
This commit is contained in:
parent
ae99a179ac
commit
d7ebea6ec2
|
@ -10,12 +10,12 @@ SYSTYPE=`uname -s`
|
|||
#
|
||||
# XXX The uploader should be smarter than this.
|
||||
#
|
||||
if [ $SYSTYPE=Darwin ];
|
||||
if [ $SYSTYPE = "Darwin" ];
|
||||
then
|
||||
SERIAL_PORTS="/dev/tty.usbmodemPX*,/dev/tty.usbmodem*"
|
||||
fi
|
||||
|
||||
if [ $SYSTYPE=Linux ];
|
||||
if [ $SYSTYPE = "Linux" ];
|
||||
then
|
||||
SERIAL_PORTS="/dev/serial/by-id/usb-3D_Robotics*"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue