tizen: bootscript: amlogic: use proper string comparison operator
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 3 Dec 2020 16:24:30 +0000 (17:24 +0100)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 16 Nov 2021 10:04:04 +0000 (11:04 +0100)
The proper string comparison operator for u-boot's test is '='.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Ic7a3f5f6b456631473df94e311694774651c4144

tizen/bootscript/tizen-boot-amlogic-64b.scr

index b454df8b4a1033bc24aeb14bdddaf987cccc410c..aaa5d16fdb425fed223178409674e37ff40e8252 100644 (file)
@@ -2,7 +2,7 @@
 # Auto Detection of Monitor settings based on your Screen information
 # Below values are from Hardkernel ubuntu-20.04.4.0-mate-odroid-c4-hc4-20201020.img
 # (Hardkernel / Odroid-c4)
-if test  $board_name == odroid-c4; then
+if test $board_name = "odroid-c4"; then
        echo "ODROID-C4"
        setenv display_autodetect "true"
        setenv monitor_onoff "false" # true or false
@@ -20,7 +20,7 @@ if test  $board_name == odroid-c4; then
        # Odroid-C4 Specific
        setenv boot_args \"voutmode=${voutmode}  disablehpd=${disablehpd} overscan=${overscan} monitor_onoff=${monitor_onoff} \"
 
-elif test $board_name == odroid-n2; then
+elif test $board_name = "odroid-n2"; then
        # (Hardkernel / Odroid-n2)
        # Auto Detection of Monitor settings based on your Screen information
        setenv display_autodetect "true"