diff --git a/buildroot-external/scripts/post-build.sh b/buildroot-external/scripts/post-build.sh index 1dabd0dce..b251d63f7 100755 --- a/buildroot-external/scripts/post-build.sh +++ b/buildroot-external/scripts/post-build.sh @@ -35,7 +35,7 @@ install_hassos_cli sed -i "s/%COMPATIBLE%/${HASSIO_ID}-${BOARD_ID}/g" ${TARGET_DIR}/etc/rauc/system.conf # Settup the correct CA -if [ ${DEPLOYMENT} == "development"]; then +if [ "${DEPLOYMENT}" == "development" ]; then cp ${BR2_EXTERNAL_HASSOS_PATH}/ca/provisioning-ca.pem ${TARGET_DIR}/etc/rauc/keyring.pem else cp ${BR2_EXTERNAL_HASSOS_PATH}/ca/rel-ca.pem ${TARGET_DIR}/etc/rauc/keyring.pem