Fix comparison in upload script for test builds

This commit is contained in:
Lorenz Meier
2014-11-12 09:01:00 +01:00
parent ae99a179ac
commit d7ebea6ec2

View File

@@ -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