arc: syntax fix

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium
2024-06-21 15:34:27 +02:00
parent e507b66033
commit f81a84106c

View File

@@ -1101,7 +1101,7 @@ else
PLATFORM="$(readConfigKey "platform" "${USER_CONFIG_FILE}")"
PRODUCTVER="$(readConfigKey "productver" "${USER_CONFIG_FILE}")"
KVER="$(readConfigKey "platforms.${PLATFORM}.productvers.[${PRODUCTVER}].kver" "${P_FILE}")"
if [[ -n "${PLATFORM}" && -n "${KVER}" ]]; then
if [ -n "${PLATFORM}" ] && [ -n "${KVER}" ]; then
if [ "${PLATFORM}" == "epyc7002" ]; then
KVERP="${PRODUCTVER}-${KVER}"
else