From b199000e9be1cab29914518186134c9c7d16a43d 2018-12-12 01:51:24 From: Unknown Date: 2018-12-12 01:51:24 Subject: [PATCH] a --- diff --git a/rpi23-gen-image.sh b/rpi23-gen-image.sh index 8c6b71b..170c535 100755 --- a/rpi23-gen-image.sh +++ b/rpi23-gen-image.sh @@ -436,7 +436,7 @@ if [ "$ENABLE_UBOOT" = true ] ; then fi if [ "$ENABLE_USBBOOT" = true ] ; then - if ! ["$RPI_MODEL" = 3 ] || ! ["$RPI_MODEL" = 3P ] ; then + if ! [ "$RPI_MODEL" = 3 ] || ! [ "$RPI_MODEL" = 3P ] ; then echo "error: Booting from USB alone is only supported by Raspberry Pi 3 and 3P" exit 1 fi