Check YoloRT checksum before building

This commit is contained in:
LAGonauta 2023-02-12 11:17:57 -03:00
parent 82e6937f21
commit 86182a7db9

View file

@ -5,6 +5,7 @@ export ORIGINAL_FOLDER=${PWD}
mkdir -p yolort && \ mkdir -p yolort && \
cd yolort && \ cd yolort && \
curl -L -O https://github.com/LAGonauta/YoloRT/releases/download/v1.0.0/${FILE_NAME} && \ curl -L -O https://github.com/LAGonauta/YoloRT/releases/download/v1.0.0/${FILE_NAME} && \
echo "675a6d943c97b4acdbfaa473f68d3241d1798b31a67b5529c8d29fc0176a1707 ${FILE_NAME}" | sha256sum --check --status && \
unzip -o ${FILE_NAME} && \ unzip -o ${FILE_NAME} && \
rm ${FILE_NAME} && \ rm ${FILE_NAME} && \
cd ${ORIGINAL_FOLDER} cd ${ORIGINAL_FOLDER}