mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 11:06:04 +08:00
Fix comparison in upload script for test builds
This commit is contained in:
+2
-2
@@ -10,12 +10,12 @@ SYSTYPE=`uname -s`
|
|||||||
#
|
#
|
||||||
# XXX The uploader should be smarter than this.
|
# XXX The uploader should be smarter than this.
|
||||||
#
|
#
|
||||||
if [ $SYSTYPE=Darwin ];
|
if [ $SYSTYPE = "Darwin" ];
|
||||||
then
|
then
|
||||||
SERIAL_PORTS="/dev/tty.usbmodemPX*,/dev/tty.usbmodem*"
|
SERIAL_PORTS="/dev/tty.usbmodemPX*,/dev/tty.usbmodem*"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $SYSTYPE=Linux ];
|
if [ $SYSTYPE = "Linux" ];
|
||||||
then
|
then
|
||||||
SERIAL_PORTS="/dev/serial/by-id/usb-3D_Robotics*"
|
SERIAL_PORTS="/dev/serial/by-id/usb-3D_Robotics*"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user