From 6d3364673aba193520703ac68c2e66d223ae8a5e Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Sun, 7 May 2023 15:51:15 +0200 Subject: [PATCH] rockchip64_common.inc: fix escaping for test in subshell - this emits errors early if BRANCH is not set --- config/sources/families/include/rockchip64_common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/sources/families/include/rockchip64_common.inc b/config/sources/families/include/rockchip64_common.inc index 37b76d4cb3..65f30be64e 100644 --- a/config/sources/families/include/rockchip64_common.inc +++ b/config/sources/families/include/rockchip64_common.inc @@ -14,7 +14,7 @@ BOOTENV_FILE='rockchip64.txt' UBOOT_TARGET_MAP=";;idbloader.bin uboot.img trust.bin" BOOTDELAY=0 OVERLAY_PREFIX='rockchip' -SERIALCON=${SERIALCON:=$([ $BRANCH == "legacy" ] && echo "ttyFIQ0:1500000" || echo "ttyS2:1500000")} +SERIALCON=${SERIALCON:=$([ "${BRANCH}" == "legacy" ] && echo "ttyFIQ0:1500000" || echo "ttyS2:1500000")} GOVERNOR="ondemand" ATFPATCHDIR='atf-rockchip64' BOOTPATCHDIR="${BOOTPATCHDIR:-"u-boot-rockchip64"}"