From e49b63e186e018c54643867fac1d654e64958914 Mon Sep 17 00:00:00 2001 From: Marek Szyprowski Date: Thu, 3 Dec 2020 17:24:30 +0100 Subject: [PATCH] tizen: bootscript: amlogic: use proper string comparison operator The proper string comparison operator for u-boot's test is '='. Signed-off-by: Marek Szyprowski Change-Id: Ic7a3f5f6b456631473df94e311694774651c4144 --- tizen/bootscript/tizen-boot-amlogic-64b.scr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tizen/bootscript/tizen-boot-amlogic-64b.scr b/tizen/bootscript/tizen-boot-amlogic-64b.scr index b454df8..aaa5d16 100644 --- a/tizen/bootscript/tizen-boot-amlogic-64b.scr +++ b/tizen/bootscript/tizen-boot-amlogic-64b.scr @@ -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" -- 2.7.4