From 55d1d73cd6ac0f20036a0d21446c84812f3481d1 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Tue, 15 May 2018 23:56:07 +0200 Subject: [PATCH] fix bug --- buildroot-external/scripts/post-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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