From 08abcb542da71b8b25e2cd3a96bccad3bb52699b Mon Sep 17 00:00:00 2001 From: Gabriel Valcazar Date: Wed, 22 Feb 2023 17:34:14 +0100 Subject: [PATCH] build.sh: remove spurious "if" This was left by accident and causes the script to fail Signed-off-by: Gabriel Valcazar --- sdk/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/build.sh b/sdk/build.sh index 0c9cc6865..34a80ebac 100755 --- a/sdk/build.sh +++ b/sdk/build.sh @@ -286,7 +286,7 @@ for platform in ${DY_PLATFORMS}; do [ "${DY_USE_CVE_LAYER}" = "true" ] && status="patched" VIGILES_CONF_PATH="${DY_VIGILES_DIR}/configs/${platform}_${status}_config" # Return error if config file doesn't exist - if [ ! -f "${VIGILES_CONF_PATH}" ] && error "Cannot find Vigiles config file ${VIGILES_CONF_PATH}" + [ ! -f "${VIGILES_CONF_PATH}" ] && error "Cannot find Vigiles config file ${VIGILES_CONF_PATH}" printf "%s" "${VIGILES_CFG}" | sed -e "s,##VIGILES_CONF_PATH##,${VIGILES_CONF_PATH},g" >> conf/local.conf fi # Apply CVE layer if needed